Remove the float versions of the i387 trig functions obtained from

NetBSD.  They're buggy, giving particularly for inputs larger in
magnitude than 2**63.

Noticed by:	bde
PR:		67469
This commit is contained in:
David Schultz 2005-02-20 22:50:40 +00:00
parent 4668880540
commit dab1571b90
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142149
4 changed files with 2 additions and 48 deletions

View file

@ -7,5 +7,5 @@ ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \
# float counterparts
ARCH_SRCS+= e_atan2f.S e_log10f.S e_logf.S e_remainderf.S e_scalbf.S \
e_sqrtf.S s_ceilf.S s_copysignf.S s_cosf.S s_floorf.S s_logbf.S \
s_rintf.S s_scalbnf.S s_significandf.S s_sinf.S s_tanf.S
e_sqrtf.S s_ceilf.S s_copysignf.S s_floorf.S s_logbf.S \
s_rintf.S s_scalbnf.S s_significandf.S

View file

@ -1,15 +0,0 @@
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
/* RCSID("$NetBSD: s_cosf.S,v 1.4 1999/07/02 15:37:34 simonb Exp $") */
/* A float's domain isn't large enough to require argument reduction. */
ENTRY(cosf)
flds 4(%esp)
fcos
ret

View file

@ -1,15 +0,0 @@
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
/* RCSID("$NetBSD: s_sinf.S,v 1.3 1995/05/09 00:27:53 jtc Exp $") */
/* A float's domain isn't large enough to require argument reduction. */
ENTRY(sinf)
flds 4(%esp)
fsin
ret

View file

@ -1,16 +0,0 @@
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
/* 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