issue 7006 - std.math.pow (integral, integral) crashes on negative exponents

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Tue Dec 17 18:41:01 UTC 2019


On Tuesday, 17 December 2019 at 17:31:41 UTC, Timon Gehr wrote:
> Haha. pow(0.0,0.0) is either 1.0 or NaN, but pow(1.0,∞) is 
> guaranteed to be 1.0.

The limits for 0^0 does not exist and floating point does not 
represent exactly zero, but approximately 0.



More information about the Digitalmars-d mailing list