summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/signbit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test LDBL_MANT_DIG == DBL_MANT_DIG instead of hardcoding 53.espie2013-07-031-3/+3
| | | | | | -> test becomes meaningful on vax No actual change, no bump okay martynas@
* Switch libc and libm to use strong aliases rather than weak aliasesmartynas2013-03-281-9/+2
| | | | | | | | | | | where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@.
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-2/+1
| | | | ok guenther millert kettenis
* Trick lint into recording the right prototypes in the llib-lc.lnmartynas2011-05-301-5/+10
| | | | | | | database on platforms without extended-precision floating-point support. Seems like a reasonable approach to millert@.
* use sys/cdefs.h; pointed out by theomartynas2008-12-101-2/+2
|
* - add long double signbitmartynas2008-12-091-10/+9
| | | | | | | | | | | | | - make long double versions weak aliases to double versions, on archs where long doubles are 64 bits - no need to have two finites. finite() and finitef() are non-standard 3BSD obsolete versions of isfinite. remove from libm. make them weak_alias in libc to __isfinite and __isfinitef instead. similarly make 3BSD obsolete versions of isinf, isinff, isnan, isnanf weak_aliases to C99's __isinf, __isinff, __isnan, __isnanf - bump major ok millert@
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-241-0/+45
- 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