summaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/s_tanf.S
blob: 7a7509119b9f3546e8ef46ee376b5d82d124c2ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 */

#include <machine/asm.h>

RCSID("$NetBSD: s_tanf.S,v 1.3 1995/05/09 00:31:09 jtc Exp $")

/* A float's domain isn't large enough to require argument reduction. */
ENTRY(__tanf)
	flds	4(%esp)
	fptan
	fstp	%st(0)
	ret
END (__tanf)
weak_alias (__tanf, tanf)