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:
parent
16fe05a548
commit
ef7a10667b
@ -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
|
||||
|
@ -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
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user