summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/ldexp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Wrap the remaining math functions in libc: __fpclassify*(), __flt_rounds(),guenther2015-10-271-1/+2
| | | | | | and ldexp(). ok millert@
* Switch from <sys/endian.h> or <machine/endian.h> to the new,guenther2014-07-211-2/+2
| | | | | | being-standardized <endian.h> ok deraadt@ millert@ beck@
* 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
* At some point we've switched to the VFP floating-point--unlike FPAmartynas2011-07-261-3/+3
| | | | | | | | | it actually stores floats in natural-endian--therefore the existing checks became wrong. Take into account __VFP_FP__, effectively bringing back the old behavior. This way it will work now, and in the future when some of our platforms are switched to FPA, where it's much faster.
* __arm32__ -> __arm__, since our new compiler isn't defining themartynas2011-07-261-3/+3
| | | | former anymore. OK miod@.
* Fix bit twiddling routines on ARM; where floating-point word ordermartynas2011-07-071-3/+3
| | | | is big endian.
* Trick lint into recording the right prototypes in the llib-lc.lnmartynas2011-05-301-8/+9
| | | | | | | database on platforms without extended-precision floating-point support. Seems like a reasonable approach to millert@.
* - ldexp implementation has issues. switch to the one from libmmartynas2009-04-191-0/+133
- remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@