[Issue 2812] sqrt(2.0) is about -2.7341e-53

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2812 Andrei Alexandrescu changed: What|Removed |Added Version|unspecified |D2 --

[Issue 2812] sqrt(2.0) is about -2.7341e-53

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 2812] sqrt(2.0) is about -2.7341e-53

2009-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 --- Comment #3 from clugd...@yahoo.com.au 2009-04-07 02:08 --- Not so. float x = sqrt(2.0f); is also wrong. It only affects compile-time constants: double y = 2.0; double x = sqrt(y); works correctly. --

[Issue 2812] sqrt(2.0) is about -2.7341e-53

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 --- Comment #2 from dsim...@yahoo.com 2009-04-06 14:19 --- Yes. Also, this seems to happen only for sqrt(double) not sqrt(float) or sqrt(real). --

[Issue 2812] sqrt(2.0) is about -2.7341e-53

2009-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2812 clugd...@yahoo.com.au changed: What|Removed |Added Severity|normal |regression --- Comment #1