Is D floating point semantics too advanced?
Hans-Eric Grönlund
hasse42g at gmail.com
Thu Aug 23 07:45:32 PDT 2007
Hello!
I've written a post on my blog wondering if the floating point semantics is too advanced. The problem I have with it is that I can't write something like this:
if (someValue == real.nan) {...}
It will never be true, which - for me - is unintuitive.
The post is at http://www.hans-eric.com/2007/08/23/is-floating-point-handling-too-advanced-in-d/
and I'd love to get some comments.
Best regards
Hans-Eric Grönlund
Software Developer, Project Manager, Freelance Journalist
www.hans-eric.com
More information about the Digitalmars-d
mailing list