aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include/float.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC: /*- and my license changes for sys/[a-d]*Warner Losh2005-01-301-1/+1
| | | | Notes: svn path=/stable/5/; revision=141016
* Hide FLT_EVAL_METHOD and DECIMAL_DIG in pre-C99 compilationDavid Schultz2004-04-251-0/+2
| | | | | | | | | | environments. PR: 63935 Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Notes: svn path=/head/; revision=128629
* Remove the advertsing clause, per the Regent's letter dated July 22, 1999.Warner Losh2004-04-051-4/+0
| | | | | | | Approved by: core Notes: svn path=/head/; revision=127910
* Implement fpclassify():Mike Barcroft2003-02-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=110566
* Remove __P(). This was tested on the GENERIC kernel.David E. O'Brien2002-03-201-1/+1
| | | | Notes: svn path=/head/; revision=92816
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Header files which are linked from /usr/include to /usr/include/machine.John Birrell1998-01-101-0/+79
NetBSD's endian.h needs sys/types.h for the typedefs that are used to get htonl() correct when a long is 64 bits. Notes: svn path=/head/; revision=32404