freebsd-dev/lib/libc/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
..
__xuname.c
_pthread_stubs.c
_rand48.c
_spinlock_stub.c
_thread_init.c
alarm.3
alarm.c
arc4random.3
arc4random.c
assert.c
basename.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
basename.c
check_utility_compat.3
check_utility_compat.c
clock.3
clock.c
closedir.c
confstr.3
confstr.c
crypt.c
ctermid.3
ctermid.c
daemon.3
daemon.c
devname.3
devname.c
directory.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
dirname.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
dirname.c
disklabel.c
dladdr.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
dlfcn.c
dlfunc.c
dlinfo.3 Spelling fixes. 2004-06-21 19:30:45 +00:00
dllockinit.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
dlopen.3 Fix the ordering in the description of the dlsym() lookup procedure to 2004-06-03 10:13:26 +00:00
drand48.c
erand48.c
err.3
err.c
errlst.c
errno.c
exec.3
exec.c
fmtcheck.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
fmtcheck.c When *printf() and *scanf() are compiled without floating-point 2004-05-02 10:55:05 +00:00
fmtmsg.3
fmtmsg.c
fnmatch.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
fnmatch.c
fpclassify.3
fpclassify.c
frexp.3
fstab.c
ftok.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
ftok.c Change the signature of ftok from (const char *, char) to (const char *, int) 2004-06-01 06:53:07 +00:00
fts-compat.c In fts_build(), if we try to chdir and fail (e.g. due to lack of search 2004-06-08 06:23:23 +00:00
fts-compat.h Fix some^Wseveral style bugs from last commit. 2004-05-12 21:38:39 +00:00
fts.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
fts.c In fts_build(), if we try to chdir and fail (e.g. due to lack of search 2004-06-08 06:23:23 +00:00
ftw.3 Fixed markup. 2004-07-07 20:11:35 +00:00
ftw.c Add implementations of ftw(3) and nftw(3) and the corresponding header 2004-07-05 23:13:16 +00:00
getbootfile.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getbootfile.c
getbsize.3
getbsize.c
getcap.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
getcap.c
getcontext.3
getcwd.3
getcwd.c
getdiskbyname.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getdomainname.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getdomainname.c
getfsent.3 Spelling fixes. 2004-06-21 19:30:45 +00:00
getgrent.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getgrent.c getgrent() and friends should set errno if there is an error. 2004-05-17 22:15:49 +00:00
getgrouplist.3
getgrouplist.c
gethostname.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
gethostname.c
getloadavg.3
getloadavg.c
getlogin.c
getmntinfo.3
getmntinfo.c
getnetgrent.3
getnetgrent.c
getobjformat.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
getobjformat.c
getosreldate.3
getosreldate.c
getpagesize.3
getpagesize.c
getpass.3
getpeereid.3
getpeereid.c
getprogname.3
getprogname.c
getpwent.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
getpwent.c POSIX prohibits any library function from setting errno to 0. 2004-05-17 18:27:05 +00:00
getttyent.3 Fix the NAME section making whatis(1) happy in particular. 2004-07-05 17:12:53 +00:00
getttyent.c
getusershell.3
getusershell.c
getvfsbyname.3
getvfsbyname.c
glob.3
glob.c
initgroups.3
initgroups.c
isatty.c
isgreater.3
isinf.c Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
isnan.c Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
jrand48.c
lcong48.c
ldexp.3
lockf.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
lockf.c
lrand48.c
makecontext.3
Makefile.inc Implement the classification macros isfinite(), isinf(), isnan(), and 2004-07-09 03:32:40 +00:00
modf.3
mrand48.c
msgctl.3
msgget.3
msgrcv.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
msgsnd.3
nice.3
nice.c
nlist.3
nlist.c
nrand48.c
ntp_gettime.c
opendir.c
pause.3
pause.c
pmadvise.c
popen.3
popen.c
posixshm.c
pselect.3
pselect.c
psignal.3
psignal.c
pw_scan.c
pw_scan.h
pwcache.3
pwcache.c
raise.3
raise.c
rand48.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
rand48.h
readdir.c
readpassphrase.3
readpassphrase.c
rewinddir.c
rfork_thread.3
scandir.3
scandir.c
seed48.c
seekdir.c
sem_destroy.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_getvalue.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_init.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_open.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_post.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem_wait.3 Markup tidying. 2004-07-02 16:45:56 +00:00
sem.c
semctl.c
setdomainname.c
sethostname.c
setjmp.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
setjmperr.c
setmode.3
setmode.c
setproctitle.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
setproctitle.c
setprogname.c
shm_open.3 Fix the NAME section making whatis(1) happy in particular. 2004-07-05 17:12:53 +00:00
siginterrupt.3
siginterrupt.c
siglist.c
signal.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
signal.c
signbit.3
signbit.c
sigsetops.3
sigsetops.c
sleep.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
sleep.c
srand48.c
statvfs.3
statvfs.c
stringlist.3
stringlist.c
strtofflags.3
strtofflags.c
swapcontext.c
sysconf.3
sysconf.c
sysctl.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
sysctl.c
sysctlbyname.c
sysctlnametomib.c
syslog.3
syslog.c Remove a trailing newline, to behave as documented in syslog(3): 2004-05-10 17:12:52 +00:00
tcgetpgrp.3
tcsendbreak.3
tcsetattr.3
tcsetpgrp.3
telldir.c
telldir.h
termios.c
time.3 Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
time.c
times.3
times.c
timezone.3
timezone.c
ttyname.3
ttyname.c
ttyslot.c
tzset.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
ualarm.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
ualarm.c
ucontext.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
ulimit.3
ulimit.c
uname.3
uname.c
unvis.3 Eliminate double whitespace. 2004-07-03 22:30:10 +00:00
unvis.c
usleep.3
usleep.c
utime.3
utime.c
valloc.3
valloc.c
vis.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
vis.c
wait3.c
wait.c
waitpid.c
wordexp.3 Fix typo: WRDE_DOOFS -> WRDE_DOOFFS. 2004-06-30 13:55:08 +00:00
wordexp.c Fix typo: WRDE_DOOFS -> WRDE_DOOFFS. 2004-06-30 13:55:08 +00:00