[Issue 7455] Allow a cast to discard precision from a floating point during constant folding

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 13 04:32:29 PST 2012


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



--- Comment #5 from Stewart Gordon <smjg at iname.com> 2012-02-13 04:32:27 PST ---
Therein lies the point - it's a bit convoluted.  And I'm sure somebody will
come up with a use case for rounding a number to float precision at compile
time.

Moreover, why allow cast(float) if it isn't supposed to work?

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


More information about the Digitalmars-d-bugs mailing list