[Issue 8562] math.pow fails at compile-time
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 20 08:29:29 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8562
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2012-08-20 08:29:25 PDT ---
isNan(x) can be implemented at compile time by:
return (x != x);
It's not exactly the same at run time, because it sets the floating point
hardware exception flags, whereas isNaN does not. But there are no exception
flags at compile time.
--
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