newlib-cygwin/newlib/libm/mathfp
Jeff Johnston d581a24a36 2014-02-04 Matthias Braun <matze@braunis.de>
* libm/mathfp/sf_numtest.c: Fix NaN/Inf detection logic.
2014-02-04 20:49:53 +00:00
..
Makefile.am 2006-04-11 Jeff Johnston <jjohnstn@redhat.com> 2006-04-11 19:02:16 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
README 2012-10-24 Jeff Johnston <jjohnstn@redhat.com> 2012-10-24 21:01:39 +00:00
e_acosh.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
e_atanh.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
e_hypot.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
e_j0.c 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl> 2000-05-26 22:42:39 +00:00
e_j1.c 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl> 2000-05-26 22:42:39 +00:00
e_remainder.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
e_scalb.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ef_acosh.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ef_atanh.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ef_hypot.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ef_j0.c 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl> 2000-05-26 22:42:39 +00:00
ef_j1.c 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl> 2000-05-26 22:42:39 +00:00
ef_remainder.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
ef_scalb.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
er_gamma.c * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function. 2004-02-11 00:47:52 +00:00
er_lgamma.c * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function. 2004-02-11 00:47:52 +00:00
erf_gamma.c * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function. 2004-02-11 00:47:52 +00:00
erf_lgamma.c * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function. 2004-02-11 00:47:52 +00:00
mathfp.tex 2006-03-02 Jeff Johnston <jjohnstn@redhat.com> 2006-03-02 16:46:12 +00:00
s_acos.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
s_asin.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_asine.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
s_asinh.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
s_atan.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
s_atan2.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
s_atangent.c 2006-01-10 Jeff Johnston <jjohnstn@redhat.com> 2006-01-10 16:51:58 +00:00
s_ceil.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_cos.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_cosh.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
s_erf.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_exp.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
s_exp2.c * libm/common/s_fdim.c: New file. 2002-06-07 21:59:57 +00:00
s_fabs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_floor.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_fmod.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
s_frexp.c 2006-01-10 Jeff Johnston <jjohnstn@redhat.com> 2006-01-10 16:51:58 +00:00
s_ispos.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_ldexp.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
s_log.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_log10.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_logarithm.c 2007-10-17 Jeff Johnston <jjohnstn@redhat.com> 2007-10-18 00:03:32 +00:00
s_mathcnst.c 2005-10-31 Darin Johnson <darin@usa.net> 2005-10-31 18:47:20 +00:00
s_numtest.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_pow.c 2005-09-01 Jeff Johnston <jjohnstn@redhat.com> 2005-09-01 17:53:02 +00:00
s_signif.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_sin.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_sincos.c * libc/sys/linux/cmath: New directory. 2002-08-16 21:29:45 +00:00
s_sine.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_sineh.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
s_sinf.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_sinh.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_sqrt.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_tan.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_tanh.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
s_tgamma.c * libm/mathfp/er_lgamma.c: Remove __kernel references. 2002-06-27 20:25:57 +00:00
sf_acos.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_asin.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_asine.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_asinh.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_atan.c Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net> 2000-02-24 16:48:28 +00:00
sf_atan2.c Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net> 2000-02-24 16:48:28 +00:00
sf_atangent.c 2006-01-10 Jeff Johnston <jjohnstn@redhat.com> 2006-01-10 16:51:58 +00:00
sf_ceil.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_cos.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_cosh.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_erf.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_exp.c Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net> 2000-02-22 19:44:37 +00:00
sf_exp2.c * libm/common/s_fdim.c: New file. 2002-06-07 21:59:57 +00:00
sf_fabs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_floor.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_fmod.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_frexp.c 2006-01-10 Jeff Johnston <jjohnstn@redhat.com> 2006-01-10 16:51:58 +00:00
sf_ispos.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_ldexp.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_log.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_log10.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_logarithm.c 2010-12-08 Jeff Johnston <jjohnstn@redhat.com> 2010-12-08 23:22:20 +00:00
sf_numtest.c 2014-02-04 Matthias Braun <matze@braunis.de> 2014-02-04 20:49:53 +00:00
sf_pow.c 2005-09-01 Jeff Johnston <jjohnstn@redhat.com> 2005-09-01 17:53:02 +00:00
sf_signif.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_sin.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_sincos.c * libc/sys/linux/cmath: New directory. 2002-08-16 21:29:45 +00:00
sf_sine.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_sineh.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_sinh.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_sqrt.c Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru> 2000-03-13 20:41:18 +00:00
sf_tan.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_tanh.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sf_tgamma.c * libm/mathfp/er_lgamma.c: Remove __kernel references. 2002-06-27 20:25:57 +00:00
w_cabs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
w_drem.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
w_jn.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wf_cabs.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wf_drem.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wf_jn.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
zmath.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00: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.