bug-gnulib
[Top][All Lists]
Advanced

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

Re: support for bitwise comparison of floats


From: Bruno Haible
Subject: Re: support for bitwise comparison of floats
Date: Mon, 26 Mar 2007 01:56:39 +0200
User-agent: KMail/1.5.4

Clarification:

> >   - On Alpha processors, division by zero (and even overflow!) leads to a 
> > SIGFPE
> >     signal by default. And it requires the use of a system call to change
> >     the FP exceptions control mask (the <fenv.h> routines in glibc >= 2.1,
> >     the __setfpucw function in glibc 2.0). memcmp is certainly much cheaper.

This is true. "By default" means in the absence of specific compiler options.

> This is for glibc/Alpha systems and maybe older OSF/1 systems. On OSF/1 5.1,
> things appear to be better.

This was nonsense. All three systems have the problem equally.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]