#2784 Ceiling gives error, without even an error message

None
closed
None
5
2014-07-27
2014-07-18
No

(%i42) ceiling((207300647060%e-563501581931)/(403978495031%e-1098127402131));
<<< notice empty error message here >>>
-- an error. To debug this try: debugmode(true);

Discussion

  • Rupert Swarbrick

    Amusingly (on SBCL, at least) this is actually a failure to allocate enough memory to to an enormous integer calculation when trying to calculate a ceiling in pretty-good-floor-or-ceiling. In fact, I think my 64 bit SBCL is trying to allocate something like 90 GiB for one of the bignums involved. Eek!

    I've just pushed [576c75], [d31139] and [dd811e] which fix this bug and ceiling now returns a noun form here (which I think is reasonable).

     

    Related

    Commit: [576c75]
    Commit: [d31139]
    Commit: [dd811e]

  • Rupert Swarbrick

    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks