1/*	$OpenBSD: s_log1pf.S,v 1.3 2016/09/12 19:47:02 guenther Exp $ */
2/*
3 * Written by J.T. Conklin <jtc@netbsd.org>.
4 * Public domain.
5 */
6
7#include "DEFS.h"
8
9/*
10 * Since the fyl2xp1 instruction has such a limited range:
11 *	-(1 - (sqrt(2) / 2)) <= x <= sqrt(2) - 1
12 * it's not worth trying to use it.
13 */
14
15ENTRY(log1pf)
16	fldln2
17	flds 4(%esp)
18	fld1
19	faddp
20	fyl2x
21	ret
22END_STD(log1pf)
23