J
janzon
Hello!
Suppose x is a double not equal to Inf or NaN. How can I find the
smallest double y, such that x<y? It would be nice not having to deal
with bits, big and little endian and so forth. (But maybe I have to.)
Is there a quick and dirty way to get a rough estimate? Is the number
DBL_EPSILON*x of any value?
Suppose x is a double not equal to Inf or NaN. How can I find the
smallest double y, such that x<y? It would be nice not having to deal
with bits, big and little endian and so forth. (But maybe I have to.)
Is there a quick and dirty way to get a rough estimate? Is the number
DBL_EPSILON*x of any value?