summaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/s_tanf.S
blob: cbf8dd8496f291e7c5016e957bcd0a64c814c11f (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
PSEUDO_END (__tanf)
weak_alias (__tanf, tanf)