[Issue 1721] std.math.nextafter should be backported to D1 Phobos
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 9 17:04:40 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1721
------- Comment #4 from wbaxter at gmail.com 2007-12-09 19:04 -------
Yeh, you're right. That does look kind of sucky.
Actually I don't even see how something like "float via real" even works. The
difference between x and nextafter x in 80-bit precision should be zilch in
single precision. So probably the grid is more like:
windows linux
float yes no (incorrect output implicitly generated via real)
double yes no (incorrect output implicitly generated via real)
real no yes
And if I'm right that those linux 'no's are just silently generating incorrect
answers, then it seems reasonable to fix those and make the table:
windows linux
float yes yes
double yes yes
real no yes
--
More information about the Digitalmars-d-bugs
mailing list