Opened 14 years ago

Closed 14 years ago

#98 closed bug (fixed)

cast from constant poly to bigint

Reported by: gorzelc@… Owned by: hannes
Priority: minor Milestone: Release 3-1-0
Component: singular-kernel Version:
Keywords: cast to bigint Cc:

Description

The casts from a constant poly to int and number are implemented,

but the corresponding cast to bigint is missing,

       > ring r=0,x,dp;

       > poly f = 12;
       > int(f);    // OK
       12
       > number(f);  // OK
       12
       > bigint(f);
	  ? bigint(`poly`) failed
	  ? expected bigint(`bigint`)
	  ? expected bigint(`number`)
	  ? error occurred in STDIN line 14: `bigint(f);`

Change History (1)

comment:1 Changed 14 years ago by hannes

Resolution: fixed
Status: newclosed

bigint(poly-expr) for const polys.

Note: See TracTickets for help on using tickets.