Boost logo

Boost :

Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Arash Partow (arash_at_[hidden])
Date: 2010-03-29 21:11:58


Scott McMurray wrote:
> On 29 March 2010 21:04, Chad Nelson <chad.thecomfychair_at_[hidden]> wrote:
>> Close, but not quite: the inverse of zero is zero.
>>
>
> Uh, what? I thought that the point of an inverse is that
> multiplication gives 1 -- that's certainly what I read at
> http://en.wikipedia.org/wiki/Modular_multiplicative_inverse
>
> Wouldn't the modulo inverse of 0 be a NaN just like the result of 1/0?

I believe this to be more relevant:
http://planetmath.org/encyclopedia/AdditiveInverseOfTheZeroInARing.html


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk