Opened 15 years ago

Closed 15 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:


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
       > number(f);  // OK
       > 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 15 years ago by hannes

Resolution: fixed
Status: newclosed

bigint(poly-expr) for const polys.

Note: See TracTickets for help on using tickets.