Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#385 rationalize zero divisor error

closed
nobody
None
5
2003-12-06
2003-08-15
Stavros Macrakis
No

rat(1.176581703295427e-20-3e-36) =>
Error: Zero divisor.
Error signalled by MAXIMA-RATIONALIZE.

Note, by the way, that this number cannot be entered
directly in decimal notation -- this appears to be a bug
in the GCL reader.

Maxima 5.9.0 gcl 2.5.0 mingw32 Windows 2000 Athlon

Discussion

  • Logged In: YES
    user_id=588346

    Sorry, I can't reproduce this. I must have made some error in
    reporting it. However, I CAN reproduce the following:

    1.176581703295427b-20-3e-36;
    Warning: Float to bigfloat conversion of -
    2.9999999999999998E-36
    Error: Zero divisor.
    Error signalled by MAXIMA-RATIONALIZE.

    Ratepsilon is being bound to 1.0e-16, and this causes maxima-
    rationalize to fail:

    rat(-3E-36),ratepsilon:1.0e-16;
    same error

     
  • Raymond Toy
    Raymond Toy
    2003-12-06

    • status: open --> closed
     
  • Raymond Toy
    Raymond Toy
    2003-12-06

    Logged In: YES
    user_id=28849

    Appears to be fixed. It returns
    1/84991972695066738688.

    (But CMUCL returns 1/84991972695066722304)