History log of /freebsd-10-stable/lib/msun/bsdsrc/b_log.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 326747 10-Dec-2017 dim

MFC r326670:

Remove an unused incude from lib/msun/bsdsrc/b_log.c.

Submitted by: Steve Kargl


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 176449 22-Feb-2008 das

Eliminate some warnings.


# 150318 19-Sep-2005 bde

Fixed aliasing bugs in TRUNC() by using the fdlibm macros for access
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.


# 138924 16-Dec-2004 das

Cosmetic changes only:
- style
- remove unused variables
- de-support VAX

Inspired by: bin/42388


# 108533 01-Jan-2003 schweikh

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


# 93211 26-Mar-2002 bde

Resurrect Lite1's gamma() as C99's tgamma(). Minimal changes.


# 92887 21-Mar-2002 obrien

Fix SCM ID's.


# 84210 30-Sep-2001 dillon

Add __FBSDID()s to libm


# 8870 30-May-1995 rgrimes

Remove trailing whitespace.


# 1573 27-May-1994 rgrimes

BSD 4.4 Lite Lib Sources