float(0.0b0) overflows?



>>>>> "Raymond" == Raymond Toy <raymond.toy at ericsson.com> writes:

>>>>> "Robert" == Robert Dodier <robert.dodier at gmail.com> writes:
    Raymond> The problem is in fp2flo in float.lisp and can be seen to be caused by
    Raymond> clisp:

    Raymond> (/ 0 (expt 2d0 53)) => 0 instead of 0d0.

[snip]

    Raymond> This result is independent of *floating-point-contagion-ansi*.

    Raymond> Sounds like a bug in clisp.  An easy workaround is just cl:float the
    Raymond> arg to scale-float.  

Or setting custom:*floating-point-rational-contagion-ansi* to T.  Then
(/ 0 1d0) => 0d0, as expected.

Ray