summaryrefslogtreecommitdiff
path: root/lib/libc/amd64/gen/isinf.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement the classification macros isfinite(), isinf(), isnan(), andDavid Schultz2004-07-091-75/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=131852
* Fix some aliasing problems.David Schultz2004-02-161-14/+19
| | | | Notes: svn path=/head/; revision=125865
* o Implement C99 classification macros isfinite(), isinf(), isnan(),Mike Barcroft2003-02-121-0/+2
| | | | | | | | | | | | isnormal(). The current isinf() and isnan() are perserved for binary compatibility with 5.0, but new programs will use the macros. o Implement C99 comparison macros isgreater(), isgreaterequal(), isless(), islessequal(), islessgreater(), isunordered(). Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> Notes: svn path=/head/; revision=110769
* Restore CSRG ID's lost in January 1995.David E. O'Brien2002-03-231-0/+3
| | | | Notes: svn path=/head/; revision=92999
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-4/+2
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov2001-08-131-3/+2
| | | | Notes: svn path=/head/; revision=81586
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-2/+2
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-2/+2
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-2/+4
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* First round of changes to clean up the RCSID mess in libc:David Greenman1995-01-231-3/+5
| | | | | | | | | | | 1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS. 2) Changed sccsid[] variables to rcsid[] 3) Moved all RCSID strings into .text 4) Converted all SCCSID's to RCS $Id$'s 5) Added missing $Id$'s after copyright. Notes: svn path=/head/; revision=5790
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+64
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573