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

Timon Gehr timon.gehr at gmx.ch
Tue Dec 17 14:31:21 UTC 2019


On 17.12.19 15:29, Timon Gehr wrote:
> On 17.12.19 15:02, Patrick Schluter wrote:
>>
>> Except for 0^^0 there is no reason to throw or crap out.
> 
> 0^^0 = 1 and D gets this right already.

Also, 0^^x for x<0 is _actually_ a division by zero.


More information about the Digitalmars-d mailing list