]>
Commit | Line | Data |
---|---|---|
f7eac6eb RM |
1 | /* |
2 | * Written by J.T. Conklin <jtc@netbsd.org>. | |
3 | * Public domain. | |
4 | */ | |
5 | ||
6 | #include <machine/asm.h> | |
7 | ||
8 | RCSID("$NetBSD: s_log1pf.S,v 1.4 1995/05/09 00:13:05 jtc Exp $") | |
9 | ||
10 | /* | |
11 | * Since the fyl2xp1 instruction has such a limited range: | |
12 | * -(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1 | |
cccda09f | 13 | * it's not worth trying to use it. |
f7eac6eb RM |
14 | */ |
15 | ||
16 | ENTRY(__log1pf) | |
17 | fldln2 | |
18 | flds 4(%esp) | |
19 | fld1 | |
20 | faddp | |
21 | fyl2x | |
22 | ret | |
cccda09f | 23 | PSEUDO_END (__log1pf) |
f7eac6eb | 24 | weak_alias (__log1pf, log1pf) |