2 * Written by J.T. Conklin <jtc@netbsd.org>.
5 * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
8 #include <machine/asm.h>
10 RCSID("$NetBSD: s_log1p.S,v 1.7 1995/05/09 00:10:58 jtc Exp $")
18 /* The fyl2xp1 can only be used for values in
19 -1 + sqrt(2) / 2 <= x <= 1 - sqrt(2) / 2
23 /* Please note: we use a double value here. Since 1.0 has
24 an exact representation this does not effect the accuracy
25 but it helps to optimize the code. */
29 * Use the fyl2xp1 function when the argument is in the range -0.29 to 0.29,
30 * otherwise fyl2x with the needed extra computation.
41 addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %edx
47 fldt limit@GOTOFF(%edx)
57 faddl one@GOTOFF(%edx)
68 weak_alias (__log1pl, log1pl)