freebsd-dev/sys
Mike Barcroft 8cf5ed5125 Implement fpclassify():
o Add a MD header private to libc called _fpmath.h; this header
  contains bitfield layouts of MD floating-point types.
o Add a MI header private to libc called fpmath.h; this header
  contains bitfield layouts of MI floating-point types.
o Add private libc variables to lib/libc/$arch/gen/infinity.c for
  storing NaN values.
o Add __double_t and __float_t to <machine/_types.h>, and provide
  double_t and float_t typedefs in <math.h>.
o Add some C99 manifest constants (FP_ILOGB0, FP_ILOGBNAN, HUGE_VALF,
  HUGE_VALL, INFINITY, NAN, and return values for fpclassify()) to
  <math.h> and others (FLT_EVAL_METHOD, DECIMAL_DIG) to <float.h> via
  <machine/float.h>.
o Add C99 macro fpclassify() which calls __fpclassify{d,f,l}() based
  on the size of its argument.  __fpclassifyl() is never called on
  alpha because (sizeof(long double) == sizeof(double)), which is good
  since __fpclassifyl() can't deal with such a small `long double'.

This was developed by David Schultz and myself with input from bde and
fenner.

PR:		23103
Submitted by:	David Schultz <dschultz@uclink.Berkeley.EDU>
		(significant portions)
Reviewed by:	bde, fenner (earlier versions)
2003-02-08 20:37:55 +00:00
..
alpha Implement fpclassify(): 2003-02-08 20:37:55 +00:00
amd64 Implement fpclassify(): 2003-02-08 20:37:55 +00:00
arm
boot s/hw.pci_allow_unsupported_io_range/hw.pci.allow_unsupported_io_range/ 2003-02-08 19:39:01 +00:00
cam Rename bio_linkage to the more obvious bio_parent. 2003-02-07 21:09:51 +00:00
coda Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
compat 1) Linux_sendto was trashing the BSD sockaddr it put in the stackgap, 2003-02-08 09:26:31 +00:00
conf Move the g_stat struct to its own .h file, we will export it to other code. 2003-02-08 13:03:57 +00:00
contrib Consolidate MIN/MAX macros into one place (param.h). 2003-02-02 13:17:30 +00:00
crypto Remove some unnecessary casts. 2003-01-25 22:41:22 +00:00
ddb Reversion of commit by Davidxu plus fixes since applied. 2003-02-01 12:17:09 +00:00
dev Include <isa/isavar.h> to fix building on alpha. 2003-02-08 07:05:07 +00:00
fs Revert removal of vnode and VFS stubs; bp asserts that they are needed. 2003-02-08 05:48:04 +00:00
geom Put the name of the /dev entry in the .h file, userland will need it. 2003-02-08 14:50:27 +00:00
gnu Use VOP_SPECSTRATEGY() instead of VOP_STRATEGY(). 2003-01-28 21:46:21 +00:00
i4b Fix another typo in a comment which I noticed while doing the MFC. 2003-02-06 14:52:47 +00:00
i386 Implement fpclassify(): 2003-02-08 20:37:55 +00:00
ia64 Implement fpclassify(): 2003-02-08 20:37:55 +00:00
isa Split the global timezone structure into two integer fields to 2003-02-03 19:49:35 +00:00
isofs/cd9660 Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
kern A little infrastructure, preceding some upcoming changes 2003-02-08 02:58:16 +00:00
libkern Since we drop NSHUFF values now, set default seed to what it becomes 2003-02-05 21:28:52 +00:00
modules pci_if.h is not needed. 2003-02-07 15:05:37 +00:00
net Make the radix tree code compilable in userland. Requested by ru. 2003-02-08 01:44:09 +00:00
netatalk Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
netatm Band-XXX-aid an easy to provoke panic. 2003-01-28 12:10:11 +00:00
netgraph Take the rc4 code out of ng_mppc module so we don't fail to load when 2003-02-05 19:11:11 +00:00
netinet Avoid multiply for preemptive arp calculation since it hits every 2003-02-08 15:05:15 +00:00
netinet6 Consolidate MIN/MAX macros into one place (param.h). 2003-02-02 13:17:30 +00:00
netipsec Comment out srandom(): 2003-02-05 15:32:24 +00:00
netipx add forgotten IFA_LOCK_INIT 2003-01-23 23:36:45 +00:00
netkey Comment out srandom(): 2003-02-05 15:32:24 +00:00
netnatm Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
netncp Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
netns Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
netsmb Pass a minor number instead of a unit number to make_dev(). 2003-02-07 23:29:57 +00:00
nfs Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
nfsclient Provide a sysctl to allow defaulting of the connectionless (-c) feature 2003-01-22 19:57:31 +00:00
nfsserver Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
opencrypto Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
pc98 Merged from sys/dev/sio/sio.c revision 1.383. 2003-02-07 10:16:35 +00:00
pccard Consolidate MIN/MAX macros into one place (param.h). 2003-02-02 13:17:30 +00:00
pci Fix the breakage resulting from Rev. 1.80. Get the eeprom width 2003-02-07 23:12:51 +00:00
posix4 Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
powerpc Implement fpclassify(): 2003-02-08 20:37:55 +00:00
rpc
security Implement mpo_check_kld_load() and mpo_check_kld_unload() for the Biba 2003-02-04 22:38:33 +00:00
sparc64 Implement fpclassify(): 2003-02-08 20:37:55 +00:00
sys A little infrastructure, preceding some upcoming changes 2003-02-08 02:58:16 +00:00
tools Remove miidevs.h and generate it from miidevs at compile time. 2003-01-19 02:59:34 +00:00
ufs Catch more uses of MIN(). 2003-02-02 13:30:00 +00:00
vm Change a printf to also tell how many items were left in the zone. 2003-02-04 08:23:18 +00:00
Makefile