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



--- Comment #6 from d...@dawgfoto.de 2012-02-13 10:30:16 PST ---
>Moreover, why allow cast(float) if it isn't supposed to work?

To summarize it.
The floating point rules are relaxed such that omitting cast(real)cast(float)
is a valid transformation. I think that's generally a better idea than to waste
all those cycles. There is currently no mechanism to distinguish explicit casts
from implicit casts in the backend.
Walter's solution solves the problem so this should be fine.
Any opinion on whether this would be a candidate for std.math?

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

Reply via email to