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


Stewart Gordon <s...@iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s...@iname.com
            Summary|narrowing float cast        |Allow a cast to discard
                   |skipped for x87 values      |precision from a floating
                   |                            |point during constant
                   |                            |folding
           Severity|normal                      |enhancement


--- Comment #1 from Stewart Gordon <s...@iname.com> 2012-02-12 11:59:48 PST ---
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.

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

Reply via email to