Bug Of pow in std.math

Simen kjaeraas simen.kjaras at gmail.com
Wed Jun 30 08:22:30 PDT 2010


sins666 <d-bugmail at puremagic.com> wrote:

> I found a Bug.The bug lives in function of pow in std.math.
>
> When wake up the bug that, we select value of minus to second
> argument of pow.
> And happen the <<object.Error: Integer Divide by Zero>> error.
>
> I think that is a Bug. Is it?

I would recommend discussing such in digitalmars.D.learn.

Now, I'm not able to recreate this. Am I right to understand
it to be:

std.math.pow( 5, -3 ); ?

If not, would you please post code that triggers the bug?

-- 
Simen


More information about the Digitalmars-d-bugs mailing list