digitalmars.D - Floating point default values.
- Charis (8/8) Jul 08 2015 Hello,
- Fusxfaranto (2/10) Jul 08 2015 http://www.drdobbs.com/cpp/nans-just-dont-get-no-respect/240005723
- ketmar (2/3) Jul 08 2015 OT: try to use "dlang" instead of simply "d".=
Hello, I'm sorry if this is a silly question, or if it's answered anywhere (it's really hard googling anything about "d"), but I was wondering what's the reasoning behind NaN being the default value for float/double/real. It only seems to be making things more complicated for no reason. Or is there a purpose to it? Thank you
Jul 08 2015
On Wednesday, 8 July 2015 at 07:30:44 UTC, Charis wrote:Hello, I'm sorry if this is a silly question, or if it's answered anywhere (it's really hard googling anything about "d"), but I was wondering what's the reasoning behind NaN being the default value for float/double/real. It only seems to be making things more complicated for no reason. Or is there a purpose to it? Thank youhttp://www.drdobbs.com/cpp/nans-just-dont-get-no-respect/240005723
Jul 08 2015
On Wed, 08 Jul 2015 07:30:42 +0000, Charis wrote:(it's really hard googling anything about "d")OT: try to use "dlang" instead of simply "d".=
Jul 08 2015