[Top][All Lists]
[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
- support for bitwise comparison of floats, Bruno Haible, 2007/03/24
- Re: support for bitwise comparison of floats, Eric Blake, 2007/03/24
- Re: support for bitwise comparison of floats, Bruno Haible, 2007/03/25
- Re: support for bitwise comparison of floats, Eric Blake, 2007/03/25
- Re: support for bitwise comparison of floats, Bruno Haible, 2007/03/25
- Re: support for bitwise comparison of floats, Eric Blake, 2007/03/25
- Re: support for bitwise comparison of floats, Ben Pfaff, 2007/03/25
Re: support for bitwise comparison of floats, Eric Blake, 2007/03/25
Re: support for bitwise comparison of floats, Paul Eggert, 2007/03/29