https://issues.dlang.org/show_bug.cgi?id=2812
Andrei Alexandrescu changed:
What|Removed |Added
Version|unspecified |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=2812
bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
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.
--
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).
--
http://d.puremagic.com/issues/show_bug.cgi?id=2812
clugd...@yahoo.com.au changed:
What|Removed |Added
Severity|normal |regression
--- Comment #1