Boost logo

Boost :

From: Bjørn Roald (bjorn_at_[hidden])
Date: 2007-03-23 19:49:42


Mathias Gaunard wrote:
> Marco wrote:
>
>
>> The other alternative is no error handling at all (J. Maddock) that is the
>> library has some undefined bahaviours (M. Gaunard).
>>
>
> Well, isn't that how regular integers work?
> If you divide by zero, it's more of a programming error than an exception.
>
Some even claim division with zero can be meaningful, at least in a
limited sense, see:

http://en.wikipedia.org/wiki/James_Anderson_%28computer_scientist%29
http://en.wikipedia.org/wiki/Nullity

see the BBC video or read viewers comments here:
http://www.bbc.co.uk/berkshire/content/articles/2006/12/06/divide_zero_feature.shtml

http://www.bbc.co.uk/berkshire/content/articles/2006/12/06/divide_zero_feature.shtml

Have a great week-end.

-- 
Bjørn

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