Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#553 closed bug (not a bug)

syntax bug in real/complex: use of exponent e demands a . in mantissa

Reported by: gorzel Owned by: somebody
Priority: minor Milestone: Release 4-0-0
Component: singular-kernel Version: 3-1-6
Keywords: Cc:


Input without a . in the mantissa is not recognized, only the exponent survives:

> ring ri = (complex,10,i),(x),(dp(1),C);
> (123.e+10);
>  (123e+10);   // wrong result
> (123.e-13);
> (123e-13);   // wrong 
>  (123.e-18);

Change History (2)

comment:1 Changed 9 years ago by hannes

Resolution: not a bug
Status: newclosed

Not a bug: the . is required according to

comment:2 Changed 9 years ago by Oleksandr

Shouldn't we warn in case of wrong input???

Note: See TracTickets for help on using tickets.