freebsd-dev/lib/libc/alpha/gen
David Schultz 240dbabfa8 Implement the classification macros isfinite(), isinf(), isnan(), and
isnormal() the hard way, rather than relying on fpclassify().  This is
a lose in the sense that we need a total of 12 functions, but it is
necessary for binary compatibility because we have never bumped libm's
major version number.  In particular, isinf(), isnan(), and isnanf()
were BSD libc functions before they were C99 macros, so we can't
reimplement them in terms of fpclassify() without adding a dependency
on libc.so.5.  I have tried to arrange things so that programs that
could be compiled in FreeBSD 4.X will generate the same external
references when compiled in 5.X.  At the same time, the new macros
should remain C99-compliant.

The isinf() and isnan() functions remain in libc for historical
reasons; however, I have moved the functions that implement the macros
isfinite() and isnormal() to libm where they belong.  Moreover,
half a dozen MD versions of isinf() and isnan() have been replaced
with MI versions that work equally well.

Prodded by:	kris
2004-07-09 03:32:40 +00:00
..
_ctx_start.S Use __FBSDID. 2003-01-19 00:17:03 +00:00
_setjmp.S Use __FBSDID. 2003-01-19 00:17:03 +00:00
divrem.m4
fabs.S Use __FBSDID. 2003-01-19 00:17:03 +00:00
flt_rounds.c Use unions to avoid violating C99 strict aliasing rules. 2004-03-16 20:42:02 +00:00
fpgetmask.c Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm 2004-01-09 16:52:09 +00:00
fpgetround.c Use unions to avoid violating C99 strict aliasing rules. 2004-03-16 20:42:02 +00:00
fpgetsticky.c Use unions to avoid violating C99 strict aliasing rules. 2004-03-16 20:42:02 +00:00
fpsetmask.c Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm 2004-01-09 16:52:09 +00:00
fpsetround.c Use unions to avoid violating C99 strict aliasing rules. 2004-03-16 20:42:02 +00:00
fpsetsticky.c Use unions to avoid violating C99 strict aliasing rules. 2004-03-16 20:42:02 +00:00
frexp.c Fix vendor ID's. 2001-11-07 22:12:52 +00:00
infinity.c Implement fpclassify(): 2003-02-08 20:37:55 +00:00
ldexp.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
makecontext.c Add required headers and function declarations. 2004-01-06 19:28:07 +00:00
Makefile.inc Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
modf.c Fix vendor ID's. 2001-11-07 22:12:52 +00:00
rfork_thread.S Use __FBSDID. 2003-01-19 00:17:03 +00:00
setjmp.S - Use the magic for ___sigreturn in __sigset. 2003-11-14 03:21:22 +00:00
signalcontext.c Add signalcontext() which will be needed by libpthread. 2003-08-09 05:37:54 +00:00
sigsetjmp.S Use __FBSDID. 2003-01-19 00:17:03 +00:00