/* * Written by J.T. Conklin . * Public domain. */ #include RCSID("$NetBSD: s_log1p.S,v 1.8 1999/07/02 15:37:34 simonb Exp $") /* * Since the fyl2xp1 instruction has such a limited range: * -(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1 * it's not worth trying to use it. */ ENTRY(log1p) fldln2 fldl 4(%esp) fld1 faddp fyl2x ret