[Issue 14786] The built-in exponentiation operator ^^ sometimes returns a value with the wrong sign.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 8 10:50:39 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14786

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
OK, it looks like std.math.pow is only implemented to work with numbers only
within the following boundaries.

-1.0/real.epsilon < X < 1/real.epsilon

I *could* relax this, but we'll need to test raising some random numbers to the
power of an integer between long.max and ulong.max.

--


More information about the Digitalmars-d-bugs mailing list