mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-20 12:00:06 +00:00
26 lines
430 B
ArmAsm
26 lines
430 B
ArmAsm
|
/*
|
||
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
||
|
* Public domain.
|
||
|
*
|
||
|
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
|
||
|
*/
|
||
|
|
||
|
#include <machine/asm.h>
|
||
|
|
||
|
RCSID("$NetBSD: $")
|
||
|
|
||
|
/*
|
||
|
* 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(__log1pl)
|
||
|
fldln2
|
||
|
fldt 4(%esp)
|
||
|
fld1
|
||
|
faddp
|
||
|
fyl2x
|
||
|
ret
|
||
|
weak_alias (__log1pl, log1pl)
|