The following message is a courtesy copy of an article
that has been posted to comp.lang.lisp as well.

Is there a simple way to achieve the following in sbcl and / or ecl:

I use (sb-ext::set-floating-point-modes :traps nil) to make sbcl generate
things like #.SB-EXT:DOUBLE-FLOAT-POSITIVE-INFINITY. Curiously, float itself
still signals an error, when called with a large integer.

(float (expt 10 1000) 0.0d0)

Could somebody send me the magic to change this.  (I.e., I'd like to get
POSITIVE-INFINITY, NEGATIVE-INFINITY, NAN depending on the first argument I'm
giving to float)

Many thanks,

Martin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to