summaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/s_tanf.S
blob: 32964341745fb92899c9f0ab959c048171ac5626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * 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
weak_alias (__tanf, tanf)