summaryrefslogtreecommitdiffstats
path: root/lib/msun/bsdsrc/b_log.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate some warnings.das2008-02-221-3/+1
|
* Fixed aliasing bugs in TRUNC() by using the fdlibm macros for accessbde2005-09-191-4/+1
| | | | | | | | | | | | | | | | | | | | to doubles as bits. fdlibm-1.1 had similar aliasing bugs, but these were fixed by NetBSD or Cygnus before a modified version of fdlibm was imported in 1994. TRUNC() is only used by tgamma() and some implementation-detail functions. The aliasing bugs were detected by compiling with gcc -O2 but don't seem to have broken tgamma() on i386's or amd64's. They broke my modified version of tgamma(). Moved the definition of TRUNC() to mathimpl.h so that it can be fixed in one place, although the general version is even slower than necessary because it has to operate on pointers to volatiles to handle its arg sometimes being volatile. Inefficiency of the fdlibm macros slows down libm generally, and tgamma() is a relatively unimportant part of libm. The macros act as if on 32-bit words in memory, so they are hard to optimize to direct actions on 64-bit double registers for (non-i386) machines where this is possible. The optimization is too hard for gcc on amd64's, and declaring variables as volatile makes it impossible.
* Cosmetic changes only:das2004-12-161-19/+5
| | | | | | | | - style - remove unused variables - de-support VAX Inspired by: bin/42388
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Resurrect Lite1's gamma() as C99's tgamma(). Minimal changes.bde2002-03-261-0/+2
|
* Fix SCM ID's.obrien2002-03-211-3/+2
|
* Add __FBSDID()s to libmdillon2001-09-301-0/+3
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+486
OpenPOWER on IntegriCloud