[Issue 21606] New: pow(NaN,0) gives 1 not NaN
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 3 11:40:36 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21606
Issue ID: 21606
Summary: pow(NaN,0) gives 1 not NaN
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: bugzilla at bernis-buecher.de
unittest
{
assert(isNaN(pow(float.nan,0)));
assert(isNaN(pow(double.nan,0)));
assert(isNaN(pow(real.nan,0)));
}
--
More information about the Digitalmars-d-bugs
mailing list