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

Fix the folding of (+ x 0.0) which was being incorrectly transformed

into 'x, which fails for (+ -0.0 0.0) => 0.0. Although (+ x -0.0) can
be transformed to 'x.

Also (expt x 0.0) was being transformed into 1 but not (expt x -0.0),
both are now transformed into 1. But note that the result still isn't
coerced to the correct type.
parent 8171a7b8
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