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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux