- move isinf, isnan dups to gen, since most is ieee 754
authormartynas <martynas@openbsd.org>
Thu, 24 Jul 2008 09:31:06 +0000 (09:31 +0000)
committermartynas <martynas@openbsd.org>
Thu, 24 Jul 2008 09:31:06 +0000 (09:31 +0000)
commit610deaf95d539135818b68651d2d9514b605d5e7
treeb206636c424de8da83ec19fab7a57e4ebc5ef408
parent35019321050739e9b261a08543d79a5d336b4785
- move isinf, isnan dups to gen, since most is ieee 754
- is{inf,nan} should be macros for real-floating, so rename to
__is{inf,nan}, per C99
- implement C99 __fpclassify(), __fpclassifyf(), __isfinite(),
__isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf()
- long functions added, but not yet enabled, till ieee.h is fixed
- implement vax equivalents of the functions
- reimplement isinff, isnanf in a better way, and move to libc
- add qnan bytes for all archs
- bump major
man pages will follow
ok millert@.  arm bits looked over by drahn@
discussed w/ theo, who showed the right direction, to put these
functions in libc
67 files changed:
lib/libc/arch/alpha/gen/Makefile.inc
lib/libc/arch/alpha/gen/isinf.c [deleted file]
lib/libc/arch/alpha/gen/isnan.c [deleted file]
lib/libc/arch/alpha/gen/nan.c [new file with mode: 0644]
lib/libc/arch/amd64/gen/Makefile.inc
lib/libc/arch/amd64/gen/isinf.c [deleted file]
lib/libc/arch/amd64/gen/isnan.c [deleted file]
lib/libc/arch/amd64/gen/nan.c [new file with mode: 0644]
lib/libc/arch/arm/gen/Makefile.inc
lib/libc/arch/arm/gen/isinf.c [deleted file]
lib/libc/arch/arm/gen/isnan.c [deleted file]
lib/libc/arch/arm/gen/nan.c [new file with mode: 0644]
lib/libc/arch/hppa/gen/Makefile.inc
lib/libc/arch/hppa/gen/isinf.c [deleted file]
lib/libc/arch/hppa/gen/isnan.c [deleted file]
lib/libc/arch/hppa/gen/nan.c [new file with mode: 0644]
lib/libc/arch/hppa64/gen/Makefile.inc
lib/libc/arch/hppa64/gen/isinf.c [deleted file]
lib/libc/arch/hppa64/gen/isnan.c [deleted file]
lib/libc/arch/hppa64/gen/nan.c [new file with mode: 0644]
lib/libc/arch/i386/gen/Makefile.inc
lib/libc/arch/i386/gen/isinf.c [deleted file]
lib/libc/arch/i386/gen/isnan.c [deleted file]
lib/libc/arch/i386/gen/nan.c [new file with mode: 0644]
lib/libc/arch/m68k/gen/Makefile.inc
lib/libc/arch/m68k/gen/isinf.c [deleted file]
lib/libc/arch/m68k/gen/isnan.c [deleted file]
lib/libc/arch/m68k/gen/nan.c [new file with mode: 0644]
lib/libc/arch/m88k/gen/Makefile.inc
lib/libc/arch/m88k/gen/isinf.c [deleted file]
lib/libc/arch/m88k/gen/isnan.c [deleted file]
lib/libc/arch/m88k/gen/nan.c [new file with mode: 0644]
lib/libc/arch/mips64/gen/Makefile.inc
lib/libc/arch/mips64/gen/isinf.S
lib/libc/arch/mips64/gen/isnan.S [new file with mode: 0644]
lib/libc/arch/mips64/gen/nan.c [new file with mode: 0644]
lib/libc/arch/powerpc/gen/Makefile.inc
lib/libc/arch/powerpc/gen/isinf.c [deleted file]
lib/libc/arch/powerpc/gen/isnan.c [deleted file]
lib/libc/arch/powerpc/gen/nan.c [new file with mode: 0644]
lib/libc/arch/sh/gen/Makefile.inc
lib/libc/arch/sh/gen/isinf.c [deleted file]
lib/libc/arch/sh/gen/isnan.c [deleted file]
lib/libc/arch/sh/gen/nan.c [new file with mode: 0644]
lib/libc/arch/sparc/gen/Makefile.inc
lib/libc/arch/sparc/gen/isinf.c [deleted file]
lib/libc/arch/sparc/gen/isnan.c [deleted file]
lib/libc/arch/sparc/gen/nan.c [new file with mode: 0644]
lib/libc/arch/sparc64/gen/Makefile.inc
lib/libc/arch/sparc64/gen/isinf.c [deleted file]
lib/libc/arch/sparc64/gen/isnan.c [deleted file]
lib/libc/arch/sparc64/gen/nan.c [new file with mode: 0644]
lib/libc/arch/vax/gen/Makefile.inc
lib/libc/arch/vax/gen/fpclassify.c [new file with mode: 0644]
lib/libc/arch/vax/gen/isfinite.c [new file with mode: 0644]
lib/libc/arch/vax/gen/isinf.c
lib/libc/arch/vax/gen/isnan.c [new file with mode: 0644]
lib/libc/arch/vax/gen/isnormal.c [new file with mode: 0644]
lib/libc/arch/vax/gen/signbit.c [new file with mode: 0644]
lib/libc/gen/Makefile.inc
lib/libc/gen/fpclassify.c [new file with mode: 0644]
lib/libc/gen/isfinite.c [new file with mode: 0644]
lib/libc/gen/isinf.c [new file with mode: 0644]
lib/libc/gen/isnan.c [new file with mode: 0644]
lib/libc/gen/isnormal.c [new file with mode: 0644]
lib/libc/gen/signbit.c [new file with mode: 0644]
lib/libc/shlib_version