http://d.puremagic.com/issues/show_bug.cgi?id=7455


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au


--- Comment #2 from Don <clugd...@yahoo.com.au> 2012-02-12 18:31:52 PST ---
(In reply to comment #1)
> http://dlang.org/float.html
> "Regardless of the type of the operands, floating point constant folding is
> done in real or greater precision."
> 
> I agree that an explicit cast should override this behaviour, at least to the
> point of discarding the extra precision from its operand, but it's technically
> an enhancement request.

There's no constant folding involved, but:

"For floating point operations and expression intermediate values, a greater
precision can be used than the type of the expression. Only the minimum
precision is set by the types of the operands, not the maximum."

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to