Skip to content
Snippets Groups Projects
Commit 6146fa3d authored by dtc's avatar dtc
Browse files

Fix for elfun-derive-type-simple which was incorrectly deriving a

single-float result for a real argument whereas the result type should
have been a float in this case; only for a rational argument can will
the result type be a single-float.  This in turn fixes the
mis-compiling of some maths functions, for example (exp #C(0d0 1d0))
was returning garbage.

Fix a similar problem in the cis derive-type optimizer, however the
fix doesn't special case rational arguments, always defaulting to a
float.
parent abd07545
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment