2 * Written by J.T. Conklin <jtc@netbsd.org>.
6 #include <machine/asm.h>
8 RCSID("$NetBSD: s_log1p.S,v 1.7 1995/05/09 00:10:58 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.
41 jc 3f // in case x is NaN or ±Inf
44 fcompl limit@GOTOFF(%edx)
53 faddl one@GOTOFF(%edx)
63 3: jp 4b // in case x is ±Inf
69 weak_alias (__log1p, log1p)