📄 changelog
字号:
src/double/ieee754-core/e_rem_pio2.c,
src/double/ieee754-core/e_remainder.c,
src/double/ieee754-core/e_scalb.c,
src/double/ieee754-core/e_sinh.c,
src/double/ieee754-core/e_sqrt.c, src/double/internal/k_cos.c,
src/double/internal/k_rem_pio2.c, src/double/internal/k_sin.c,
src/double/internal/k_tan.c, src/double/portable-api/s_asinh.c,
src/double/portable-api/s_atan.c, src/double/portable-api/s_cbrt.c,
src/double/portable-api/s_ceil.c,
src/double/portable-api/s_copysign.c,
src/double/portable-api/s_cos.c, src/double/portable-api/s_erf.c,
src/double/portable-api/s_expm1.c,
src/double/portable-api/s_fabs.c,
src/double/portable-api/s_finite.c,
src/double/portable-api/s_floor.c,
src/double/portable-api/s_frexp.c,
src/double/portable-api/s_ilogb.c,
src/double/portable-api/s_isnan.c,
src/double/portable-api/s_ldexp.c,
src/double/portable-api/s_log1p.c,
src/double/portable-api/s_logb.c,
src/double/portable-api/s_modf.c,
src/double/portable-api/s_nextafter.c,
src/double/portable-api/s_rint.c,
src/double/portable-api/s_scalbn.c,
src/double/portable-api/s_significand.c,
src/double/portable-api/s_sin.c, src/double/portable-api/s_tan.c,
src/double/portable-api/s_tanh.c, src/mathincl/fdlibm.h,
src/misc/standard.c:
Untabify
Mon Jul 27 22:52:24 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* tests/vectors/vector_support.h (doTestVec):
Remove "register" when declaring variable i
* host/acosgen.c, host/cosgen.c, host/fmodgen.c, host/modfgen.c,
host/tangen.c, host/asingen.c, host/coshgen.c, host/frexpgen.c,
host/powgen.c, host/tanhgen.c, host/atan2gen.c, host/expgen.c,
host/ldexpgen.c, host/singen.c, host/atangen.c, host/fabsgen.c,
host/log10gen.c, host/sinhgen.c, host/ceilgen.c, host/floorgen.c,
host/loggen.c, host/sqrtgen.c:
Remove "register" when declaring variable "int x"
Mon Jul 27 22:45:01 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* tests/vectors/vector_support.h (checkErrorAcceptable):
Add extra check for tolerance acceptance so it behaves correctly with
underflow and overflow
Also reverse sense of checkErrorAcceptable() so it now returns
false on success and true on failure, as suggested by hmt. Change
this in doTestVec() (which is where it is called) too.
* tests/vectors/vector_support.h:
Remove #if 0'd shift_double() function
Mon Jul 27 21:55:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/mathincl/fdlibm.h:
Rename CYGONCE_LIBM_FDLIBM_H to CYGONCE_LIBM_MATHINCL_FDLIBM_H as per
code review comments
Fri Jul 24 22:20:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* include/math.h, include/pkgconf/libm.h,
src/double/ieee754-api/w_acos.c, src/double/ieee754-api/w_acosh.c,
src/double/ieee754-api/w_asin.c, src/double/ieee754-api/w_atan2.c,
src/double/ieee754-api/w_atanh.c, src/double/ieee754-api/w_cosh.c,
src/double/ieee754-api/w_exp.c, src/double/ieee754-api/w_fmod.c,
src/double/ieee754-api/w_gamma.c, src/double/ieee754-api/w_gamma_r.c,
src/double/ieee754-api/w_hypot.c, src/double/ieee754-api/w_j0.c,
src/double/ieee754-api/w_j1.c, src/double/ieee754-api/w_jn.c,
src/double/ieee754-api/w_lgamma.c,
src/double/ieee754-api/w_lgamma_r.c, src/double/ieee754-api/w_log.c,
src/double/ieee754-api/w_log10.c, src/double/ieee754-api/w_pow.c,
src/double/ieee754-api/w_remainder.c,
src/double/ieee754-api/w_scalb.c, src/double/ieee754-api/w_sinh.c,
src/double/ieee754-api/w_sqrt.c, src/mathincl/fdlibm.h,
src/misc/compatmode.cxx, src/misc/matherr.c, src/misc/signgam.cxx,
src/misc/standard.c:
Rename libm config option names as per the libm coding standard
review. Chiefly ensuring that CYGXXX_ prefixes are correct
* src/misc/matherr.c, include/pkgconf/libm.h:
Add new CYGFUN_LIBC_matherr config option to prevent inclusion of
default matherr
Mon Jul 20 18:07:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/misc/infconst.c:
Oops. Don't let cyg_libm_infinity be static!
Thu Jul 16 20:07:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* include/math.h, include/sys/ieeefp.h, src/misc/infconst.c:
Remove union Cyg_libm_int_double from math.h, which was used to
define infinity, and replace with use of
Cyg_libm_ieee_double_shape_type from ieeefp.h
That type (which is a union) is now reordered so that it can be
initialised in terms of two int's
Mon Jul 13 21:55:06 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/double/ieee754-api/w_acos.c, src/double/ieee754-api/w_acosh.c,
src/double/ieee754-api/w_asin.c, src/double/ieee754-api/w_atan2.c,
src/double/ieee754-api/w_atanh.c, src/double/ieee754-api/w_cosh.c,
src/double/ieee754-api/w_exp.c, src/double/ieee754-api/w_fmod.c,
src/double/ieee754-api/w_gamma.c, src/double/ieee754-api/w_gamma_r.c,
src/double/ieee754-api/w_hypot.c, src/double/ieee754-api/w_j0.c,
src/double/ieee754-api/w_j1.c, src/double/ieee754-api/w_jn.c,
src/double/ieee754-api/w_lgamma.c,
src/double/ieee754-api/w_lgamma_r.c, src/double/ieee754-api/w_log.c,
src/double/ieee754-api/w_log10.c, src/double/ieee754-api/w_pow.c,
src/double/ieee754-api/w_remainder.c,
src/double/ieee754-api/w_scalb.c, src/double/ieee754-api/w_sinh.c,
src/double/ieee754-api/w_sqrt.c, src/double/ieee754-core/e_acos.c,
src/double/ieee754-core/e_acosh.c, src/double/ieee754-core/e_asin.c,
src/double/ieee754-core/e_atan2.c, src/double/ieee754-core/e_atanh.c,
src/double/ieee754-core/e_cosh.c, src/double/ieee754-core/e_exp.c,
src/double/ieee754-core/e_fmod.c, src/double/ieee754-core/e_gamma.c,
src/double/ieee754-core/e_gamma_r.c,
src/double/ieee754-core/e_hypot.c, src/double/ieee754-core/e_j0.c,
src/double/ieee754-core/e_j1.c, src/double/ieee754-core/e_jn.c,
src/double/ieee754-core/e_lgamma.c,
src/double/ieee754-core/e_lgamma_r.c,
src/double/ieee754-core/e_log.c, src/double/ieee754-core/e_log10.c,
src/double/ieee754-core/e_pow.c,
src/double/ieee754-core/e_rem_pio2.c,
src/double/ieee754-core/e_remainder.c,
src/double/ieee754-core/e_scalb.c, src/double/ieee754-core/e_sinh.c,
src/double/ieee754-core/e_sqrt.c, src/double/internal/k_cos.c,
src/double/internal/k_rem_pio2.c, src/double/internal/k_sin.c,
src/double/internal/k_tan.c, src/double/portable-api/s_asinh.c,
src/double/portable-api/s_atan.c, src/double/portable-api/s_cbrt.c,
src/double/portable-api/s_ceil.c,
src/double/portable-api/s_copysign.c,
src/double/portable-api/s_cos.c, src/double/portable-api/s_erf.c,
src/double/portable-api/s_expm1.c, src/double/portable-api/s_fabs.c,
src/double/portable-api/s_finite.c,
src/double/portable-api/s_floor.c, src/double/portable-api/s_frexp.c,
src/double/portable-api/s_ilogb.c, src/double/portable-api/s_isnan.c,
src/double/portable-api/s_ldexp.c, src/double/portable-api/s_log1p.c,
src/double/portable-api/s_logb.c, src/double/portable-api/s_modf.c,
src/double/portable-api/s_nextafter.c,
src/double/portable-api/s_rint.c, src/double/portable-api/s_scalbn.c,
src/double/portable-api/s_significand.c,
src/double/portable-api/s_sin.c, src/double/portable-api/s_tan.c,
src/double/portable-api/s_tanh.c, src/misc/standard.c:
Make #ifdef __STDC__ bits compulsory and remove the associated #else
clause. We know that gcc is ISO C compatible!
Tue Jul 7 16:05:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/misc/compatmode.cxx:
Fix conditionalisation to prevent unused variable warning for tracing
Thu Jun 25 04:58:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* tests/vectors/acos.c, tests/vectors/acos.h, tests/vectors/asin.c,
tests/vectors/asin.h, tests/vectors/atan.c, tests/vectors/atan.h,
tests/vectors/atan2.c, tests/vectors/atan2.h, tests/vectors/ceil.c,
tests/vectors/ceil.h, tests/vectors/cos.c, tests/vectors/cos.h,
tests/vectors/cosh.c, tests/vectors/cosh.h, tests/vectors/exp.c,
tests/vectors/exp.h, tests/vectors/fabs.c, tests/vectors/fabs.h,
tests/vectors/floor.c, tests/vectors/floor.h, tests/vectors/fmod.c,
tests/vectors/fmod.h, tests/vectors/frexp.c, tests/vectors/frexp.h,
tests/vectors/ldexp.c, tests/vectors/ldexp.h, tests/vectors/log.c,
tests/vectors/log.h, tests/vectors/log10.c, tests/vectors/log10.h,
tests/vectors/modf.c, tests/vectors/modf.h, tests/vectors/pow.c,
tests/vectors/pow.h, tests/vectors/sin.c, tests/vectors/sin.h,
tests/vectors/sinh.c, tests/vectors/sinh.h, tests/vectors/sqrt.c,
tests/vectors/sqrt.h, tests/vectors/tan.c, tests/vectors/tan.h,
tests/vectors/tanh.c, tests/vectors/tanh.h,
tests/vectors/vector_support.h:
Add math library tests for functions specified in the ISO standard.
These are based on precomputed test vectors
* tests/PKGconf.mak:
Create with above files being built
* host/acosgen.c, host/asingen.c, host/atan2gen.c, host/atangen.c,
host/ceilgen.c, host/cosgen.c, host/coshgen.c, host/expgen.c,
host/fabsgen.c, host/floorgen.c, host/fmodgen.c, host/frexpgen.c,
host/ldexpgen.c, host/log10gen.c, host/loggen.c, host/modfgen.c,
host/powgen.c, host/singen.c, host/sinhgen.c, host/sqrtgen.c,
host/tangen.c, host/tanhgen.c:
Host-side (and currently linux-specific) sources to automatically
generate test vector data used by the above tests.
* include/pkgconf/libm.h:
Ensure the kernel C API is available if we want thread safety
Wed Jun 24 15:42:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/misc/standard.c:
Fix typo in ifdef
Wed Jun 24 13:04:30 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/misc/standard.c:
Fix #defines for IEEE mode, revealed by permutation testing
Mon Jun 22 14:42:50 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/misc/infconst.c:
Fix compiler warning
Sun Jun 21 04:42:18 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* include/sys/ieeefp.h:
Add this to allow bitfield break down of IEEE floating point doubles
Wed Jun 17 08:55:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* include/pkgconf/libm.h:
Make the use of stderr for messages _not_ the default
Make thread safety the default
* src/misc/standard.c:
Change alternative for fprintf(stderr,...) _not_ being used from
"CYG_EMPTY_STATEMENT" to just "0" to placate compiler.
Mon Jun 15 19:59:36 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/misc/compatmode.cxx:
Fix typo in compatibility mode name
Fri Jun 5 16:31:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/misc/signgam.cxx, src/misc/compatmode.cxx:
Fix some minor typos when thread safety is turned on
* src/misc/matherr.c
Correct syntax of weak attribute
Fri Jun 5 07:07:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* Initial check-in of all math library sources. Based on fdlibm-5.2.
//===========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
//
// eCos is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 or (at your option) any later version.
//
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for more details.
//
// You should have received a copy of the GNU General Public License along
// with eCos; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
//
// As a special exception, if other files instantiate templates or use macros
// or inline functions from this file, or you compile this file and link it
// with other works to produce a work based on this file, this file does not
// by itself cause the resulting work to be covered by the GNU General Public
// License. However the source code for this file must still be made available
// in accordance with section (3) of the GNU General Public License.
//
// This exception does not invalidate any other reasons why a work based on
// this file might be covered by the GNU General Public License.
//
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
// at http://sources.redhat.com/ecos/ecos-license/
// -------------------------------------------
//####ECOSGPLCOPYRIGHTEND####
//===========================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -