PS: I wrote: > - 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 for glibc/Alpha systems and maybe older OSF/1 systems. On OSF/1 5.1, things appear to be better. Bruno