Re: bad floating point exception

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 27 July 2007 11:42:57 pm Mike - EMAIL IGNORED wrote:
> 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).

Ok, I get your point now ;)

As someone has already pointed this is actually always returned as a SIGFPE 
floating point exception, at least it has been for systems I've used...

Chris


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux