There's 2 unexpected test failures in elemnum.input with CLISP.
I wonder if this is known problem.
Debugging shows the following 2 expression are not expected:
(3) -> atan(2.0::DFLOAT * %i)
(3) - 1.5707963267948966 + 0.5493061443340549 %i
Type: Complex(DoubleFloat)
(4) -> atan(-2.0::DFLOAT * %i)
(4) 1.5707963267948966 - 0.5493061443340549 %i
Type: Complex(DoubleFloat)
The sign of real part is inverted.
The actual computation happens in atanh$DoubleFloatElementaryFunctions,
and the direct reason for the failure is that
sign(-0$DFLOAT)
is 1 for CLISP but -1 for SBCL.
This affects the line "y = 0 => sy*half_pi" where sy is sign(y).
- Qian
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/2b74c461-57e4-426c-8250-5c7fc6cd51b7%40gmail.com.