newlib-cygwin/newlib/libm/mathfp
Corinna Vinschen 80bd01ef83 Add build mechanism to share common header files between machines
So far the build mechanism in newlib only allowed to either define
machine-specific headers, or headers shared between all machines.
In some cases, architectures are sufficiently alike to share header
files between them, but not with other architectures.  A good example
is ix86 vs. x86_64, which share certain traits with each other, but
not with other architectures.

Introduce a new configure variable called "shared_machine_dir".  This
dir can then be used for headers shared between architectures.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2021-04-13 12:55:33 +02:00
..
Makefile.am Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
Makefile.in Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
README 2012-10-24 Jeff Johnston <jjohnstn@redhat.com> 2012-10-24 21:01:39 +00:00
e_acosh.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
e_atanh.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
e_hypot.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
e_j0.c
e_j1.c
e_remainder.c mathfp: remove TRAD_SYNOPSIS 2017-12-01 03:41:54 -06:00
e_scalb.c
ef_acosh.c
ef_atanh.c
ef_hypot.c
ef_j0.c
ef_j1.c
ef_remainder.c
ef_scalb.c
er_gamma.c
er_lgamma.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
erf_gamma.c
erf_lgamma.c
mathfp.tex
s_acos.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
s_asin.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_asine.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_asinh.c mathfp: remove TRAD_SYNOPSIS 2017-12-01 03:41:54 -06:00
s_atan.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_atan2.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
s_atangent.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_ceil.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_cos.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_cosh.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
s_erf.c mathfp: remove TRAD_SYNOPSIS 2017-12-01 03:41:54 -06:00
s_exp.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_exp2.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_fabs.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_floor.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_fmod.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
s_frexp.c mathfp: remove TRAD_SYNOPSIS 2017-12-01 03:41:54 -06:00
s_ispos.c
s_ldexp.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_log.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_log10.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_logarithm.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
s_mathcnst.c
s_numtest.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_pow.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
s_signif.c
s_sin.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_sincos.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_sine.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_sineh.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_sinf.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_sinh.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_sqrt.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_tan.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_tanh.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
s_tgamma.c
sf_acos.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_asin.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_asine.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_asinh.c
sf_atan.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_atan2.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_atangent.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_ceil.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_cos.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_cosh.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_erf.c
sf_exp.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_exp2.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_fabs.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_floor.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_fmod.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_frexp.c
sf_ispos.c
sf_ldexp.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_log.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_log10.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_logarithm.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_numtest.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_pow.c
sf_signif.c
sf_sin.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_sincos.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_sine.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_sineh.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_sinh.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_sqrt.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_tan.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_tanh.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sf_tgamma.c
w_cabs.c
w_drem.c
w_jn.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
wf_cabs.c
wf_drem.c
wf_jn.c Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
zmath.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00

README

This directory was an experiment to use floating-point operations to implement
the math library when a processor had a floating-point instruction set.  The
experiment was a failure in that some of the algorithms chosen (e.g. recursive
algorithms for sin/cos, etc..) are too simple and do not provide proper accuracy 
nor handle very large or very small inputs adequately.

The code is considered moth-balled.  The stable math library routines can be
found in libm/math and the configuration option to use this has been removed.

If you wish to experiment with the concept, please feel free and report back if
you have major improvements.