bad floating point exception

Mike - EMAIL IGNORED m_d_berger_1900 at yahoo.com
Fri Jul 27 22:42:57 UTC 2007


On Fri, 27 Jul 2007 22:27:58 +0100, Chris Jones wrote:

> 
>>
>> But it is not a floating point operation, they
>> are unsigned integers.  At least on older systems
>> that I am familiar with, it is different hardware.
> 
> what exactly are you expecting from x%y when y=0 ??

On other systems, more consistent with current
terminology, I have seen and can imagine:
   arithmetic exception (good but vague)
   fixed point exception (better)
   integer div zero (best)

Anything referring to floating point is simply wrong
(and suggests a basic lack of understanding on the
part of the author).

Mike.






More information about the users mailing list