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

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Tue Dec 17 19:53:06 UTC 2019


On Tuesday, 17 December 2019 at 19:41:22 UTC, Timon Gehr wrote:
> That's precisely why it is funny that the two cases are handled 
> differently!

I wish I could see the humour in this. I want to laugh as well... 
:-/

But all I see there is pragmatism.

Anyway, for numeric programming one should in general stay away 
from 0.0. Some people add noise to their calculations just to 
avoid issues that arise close to 0.0.


More information about the Digitalmars-d mailing list