-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
At
fast-math/Numeric/FastMath/Approximation.hs
Line 125 in 8657317
| -- NOTE: It is important that these rules should fire after the distributivity |
-- NOTE: It is important that these rules should fire after the distributivity
-- rules. This ensures that
--
-- > x*x+x*y
--
-- gets simplified to
--
-- > x*(x+y)
--
-- rather than
--
-- > x+x+x*y
Assumedly this should say 2*x + x*y, since x*x != x+x.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels