Re: bad floating point exception

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

 



On Fri, 27 Jul 2007 14:26:39 -0400
Mike - EMAIL IGNORED <m_d_berger_1900@xxxxxxxxx> wrote:

> On FC4, with:
> $ g++ --version
> g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
> 
> I ran, in essence:
> 
>    unsigned    x = <seconds in the epoch>;
>    unsigned    y = 0; // an error
>    if (x % y == 0)
>       ...
> 
> I got a floating point exception.  Peculiar?
> 
> Mike.
> 
> 
Division by zero.  Normal.


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

  Powered by Linux