mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
24 lines
401 B
ArmAsm
24 lines
401 B
ArmAsm
|
/*
|
||
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
||
|
* Public domain.
|
||
|
*/
|
||
|
|
||
|
#include <machine/asm.h>
|
||
|
|
||
|
RCSID("$NetBSD: s_log1p.S,v 1.7 1995/05/09 00:10:58 jtc 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
|
||
|
weak_alias (__log1p, log1p)
|