1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/lib/libc
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
..
alpha Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
amd64 Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
arm Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
compat-43 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
db Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
gdtoa Updated manh shift constant type to 'ULL' for PPC to fix 2004-01-21 04:51:50 +00:00
gen Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
gmon Document the location of the header file which declares the function 2004-06-14 18:41:24 +00:00
i386 Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
ia64 Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
include When a dynamic NSS module is built and linked against a thread 2004-03-30 15:56:15 +00:00
locale Add a function to iterate over all characters in a particular character 2004-07-08 06:43:37 +00:00
net Markup nits. 2004-07-07 20:15:31 +00:00
nls Remove incomplete support for running FreeBSD userland on old NetBSD kernels 2003-10-29 10:45:01 +00:00
posix1e Fix the NAME section making whatis(1) happy in particular. 2004-07-05 17:12:53 +00:00
powerpc Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
quad libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
regex Document incorrect handling of multibyte characters. 2004-07-06 09:20:51 +00:00
rpc Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
softfloat Import the softfloat emulation library, needed for FreeBSD/arm right now. 2004-05-14 12:13:06 +00:00
sparc64 Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
stdio Add commentary explaining why we return EBADF upon attempts to fflush() a 2004-07-04 20:17:00 +00:00
stdlib mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
stdtime Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
string Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
sys Eliminate some magic numbers and correct description of _PC_NO_TRUNC. 2004-07-08 20:27:38 +00:00
uuid Remove stale DCE 1.1 pointers to the IBM site. The URLs aren't valid 2003-08-08 19:18:43 +00:00
xdr We use __arm__, not __arm32__. 2004-05-14 11:51:22 +00:00
yp Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
Makefile Import the FreeBSD/arm libc bits. 2004-05-14 12:04:31 +00:00