2 * Written by J.T. Conklin <jtc@netbsd.org>.
6 #include <machine/asm.h>
8 RCSID("$NetBSD: s_log1pf.S,v 1.4 1995/05/09 00:13:05 jtc Exp $")
16 /* The fyl2xp1 can only be used for values in
17 -1 + sqrt(2) / 2 <= x <= 1 - sqrt(2) / 2
24 * Use the fyl2xp1 function when the argument is in the range -0.29 to 0.29,
25 * otherwise fyl2x with the needed extra computation.
36 addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %edx
43 jc 3f // in case x is NaN or ±Inf
46 fcomps limit@GOTOFF(%edx)
55 fadds one@GOTOFF(%edx)
65 3: jp 4b // in case x is ±Inf
71 weak_alias (__log1pf, log1pf)