lib/logl.c


Log

Author Commit Date CI Message
Bruno Haible 72983fb6 2012-03-10T02:48:48 logl: Work around OSF/1 5.1 bug. * lib/math.in.h (logl): Override if REPLACE_LOGL is 1. * lib/logl.c (logl): If logf exists, use it and provide just the workaround. * m4/logl.m4 (gl_FUNC_LOGL_WORKS): New macro. (gl_FUNC_LOGL): Invoke it. Set REPLACE_LOGL. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_LOGL. * modules/math (Makefile.am): Substitute REPLACE_LOGL. * modules/logl (configure.ac): Consider REPLACE_LOGL. (Depends-on): Update conditions. * doc/posix-functions/logl.texi: Mention the OSF/1 5.1 problem.
Bruno Haible 99bd6129 2012-02-29T12:30:07 math code: Add comments. * lib/acosl.c: Add comment about related glibc source files. * lib/asinl.c: Likewise. * lib/atanl.c: Likewise. * lib/expl.c: Likewise. * lib/logl.c: Likewise. * lib/sincosl.c: Likewise. * lib/sinl.c: Likewise. * lib/tanl.c: Likewise. * lib/trigl.c: Likewise. * lib/cosl.c: Likewise. Fix comments.
Bruno Haible 6d273f72 2011-10-11T02:11:21 logl: Simplify for platforms where 'long double' == 'double'. * lib/logl.c (logl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative implementation. * m4/logl.m4 (gl_FUNC_LOGL): Require gl_LONG_DOUBLE_VS_DOUBLE. Determine LOGL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE. * modules/logl (Depends-on): Add log. Update conditions.
Bruno Haible aeb898d8 2010-03-25T07:48:14 Minor formatting changes.
Bruno Haible 441aa304 2009-12-10T20:28:30 Use spaces for indentation, not tabs.
Bruno Haible febae7ee 2008-10-19T14:05:30 Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible 6c38d728 2008-04-16T03:39:15 Remove unused variables.
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible 55eed6bb 2007-03-26T22:26:05 Better support of signalling NaNs.
Bruno Haible e1123c2f 2007-02-18T15:10:28 New module 'math'. <math.h> replaces mathl.h.
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Paul Eggert a03ce664 2004-10-06T20:01:55 Add GPL notice, to match glibc's added LGPL notice. (logl): Keep the code as similar to glibc as possible. This avoids a potential constant-folding bug.
Bruno Haible 5657b253 2003-02-18T17:05:23 Transcendental functions for 'long double', from Paolo Bonzini.