1 2004-04-14 Andrew Lunn <andrew.lunn@ascom.ch>
3 * src/double/ieee754-core/e_cosh.c (__ieee754_cosh):
4 * src/double/ieee754-core/e_sinh.c (__ieee754_sinh): Make use of
5 the CYG_LIBM_LO() macro which does not generate a compiler warning.
7 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
9 * cdl/libm.cdl: Fix doc link.
11 2001-09-28 Jesper Skov <jskov@redhat.com>
13 * src/double/portable-api/s_expm1.c (expm1): Init c before it's used.
15 2001-07-20 Jonathan Larmour <jlarmour@redhat.com>
17 * src/double/portable-api/s_expm1.c: Reimport from newlib
18 * src/double/ieee754-core/e_pow.c: Ditto.
19 * src/mathincl/fdlibm.h: Define macros and types required for
20 newlib versions of libm files.
22 2001-04-25 Bart Veer <bartv@redhat.com>
25 Ensure -ffloat-store is also used for the updated synthetic target
26 when running on x86 hardware.
28 2000-09-11 Jonathan Larmour <jlarmour@redhat.com>
30 * src/misc/infconst.c: Revert below two changes - the gcc problem
31 that provoked it is now fixed.
33 2000-09-01 Jonathan Larmour <jlarmour@redhat.com>
35 * src/misc/infconst.c: Silence warning about number of brackets
37 2000-08-31 Jonathan Larmour <jlarmour@redhat.com>
39 * include/math.h: Declare cyg_libm_infinity as an array type for correct
41 * src/misc/infconst.c: Define it likewise
43 2000-05-30 Jesper Skov <jskov@redhat.com>
45 * include/sys/ieeefp.h: Undo below change.
47 2000-05-26 Jesper Skov <jskov@redhat.com>
49 * include/sys/ieeefp.h: Support FPU double-LE layout in BE mode.
52 2000-05-02 Jonathan Larmour <jlarmour@redhat.co.uk>
54 * tests/vectors/vector_support.h:
55 Update startup configury to reflect changes in libc startup.
56 Use default stacksize of CYGNUM_HAL_STACK_SIZE_TYPICAL rather than 32K
58 2000-03-28 John Dallaway <jld@cygnus.co.uk>
62 Adjust documentation URLs.
64 2000-03-16 Jonathan Larmour <jlarmour@redhat.co.uk>
66 * cdl/libm.cdl (CYGPKG_LIBM_CFLAGS_ADD): Add -ffloat-store for i386
67 targets. The math library implementation relies on accurate IEEE FP.
69 2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk>
72 Adjust help URLs in line with new doc layout.
74 2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk>
77 Adjust help URLs in line with new doc layout.
79 2000-01-28 Jonathan Larmour <jlarmour@redhat.co.uk>
81 * cdl/libm.cdl: Don't need to compile with -O1 any more
83 2000-01-19 Hugo Tyson <hmt@cygnus.co.uk>
85 * cdl/*.cdl: Add descriptions to a number of options &c which were
86 lacking same, also tidied up other typos as noticed en passant.
88 1999-11-23 Hugo Tyson <hmt@cygnus.co.uk>
90 * include/pkgconf/libm.h: Cooperate with permtest combo10 setting
91 an intermediate variable CYGNUM_LIBM_COMPAT_DEFAULT directly.
93 1999-11-03 John Dallaway <jld@cygnus.co.uk>
95 * cdl/libm.cdl: Define tests.
97 1999-10-18 John Dallaway <jld@cygnus.co.uk>
100 Parent CYGPKG_LIBM_CFLAGS_ADD and CYGPKG_LIBM_CFLAGS_REMOVE
101 under a CDL component.
103 1999-10-15 John Dallaway <jld@cygnus.co.uk>
106 Define CYGPKG_LIBM_CFLAGS_ADD and CYGPKG_LIBM_CFLAGS_REMOVE.
108 1999-10-07 John Dallaway <jld@cygnus.co.uk>
110 * cdl/compat.cdl: Specify radio buttons using CDL interfaces.
112 1999-08-24 Jonathan Larmour <jlarmour@cygnus.co.uk>
114 * src/PKGconf.mak: Optimize by default everywhere, except when compiling
115 e_pow.c, in which case use -fno-schedule-insns
117 1999-08-17 John Dallaway <jld@cygnus.co.uk>
121 Implement radio buttons using "FIXME radio" hack in
122 description field for now.
124 1999-08-14 John Dallaway <jld@cygnus.co.uk>
127 Change CYGNUM_LIBM_COMPATIBILITY flavor to 'booldata'.
129 1999-08-12 John Dallaway <jld@cygnus.co.uk>
131 * cdl/libm.cdl, cdl/compat.cdl:
132 Take advantage of MACRONAME_ENUMVAL macros output by CDL.
134 1999-06-17 Jonathan Larmour <jlarmour@cygnus.co.uk>
136 * src/PKGconf.mak: Disable optimization completely until CR 100802 is
139 1999-06-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
141 * src/mathincl/fdlibm.h: Fix for alias problem
143 * src/PKGconf.mak: workaround no longer needed
145 1999-06-04 Jonathan Larmour <jlarmour@cygnus.co.uk>
148 Only use -fno-strict-aliasing if we have enough a recent toolchain
149 Default is that we have
151 1999-06-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
154 Finally found the option to do the right workaround:
157 1999-06-02 Jonathan Larmour <jlarmour@cygnus.co.uk>
159 * src/PKGconf.mak (SPECIAL_FLAGS): Don't use -fschedule-insns[2] on
162 1999-05-27 Jonathan Larmour <jlarmour@cygnus.co.uk>
164 * src/PKGconf.mak (SPECIAL_FLAGS): Add workaround flags for new
165 toolchains for all targets
167 1999-05-24 Jesper Skov <jskov@cygnus.co.uk>
169 * src/PKGconf.mak: Same workaround for sh.
171 1999-05-19 Jonathan Larmour <jlarmour@cygnus.co.uk>
173 * src/PKGconf.mak: Make below workaround be the other way around by
174 using -O1 and adding more explicit -O2 optimizations, just so we
175 don't lose very many optimizations. This is for sparclite
177 1999-05-19 Jonathan Larmour <jlarmour@cygnus.co.uk>
179 * src/PKGconf.mak: Make below workaround be the other way around by
180 using -O1 and adding more explicit -O2 optimizations, just so we
181 don't lose very many optimizations. This is for ARM
183 1999-05-18 Jonathan Larmour <jlarmour@cygnus.co.uk>
185 * src/PKGconf.mak: For the sparclite, prevent insn scheduling -
186 workaround for PR 19698
188 1999-05-18 Jonathan Larmour <jlarmour@cygnus.co.uk>
190 * src/PKGconf.mak: For the ARM, change from -O1 to just prevent insn
191 scheduling - workaround for PR 19698
193 1999-04-15 John Dallaway <jld@cygnus.co.uk>
195 * include/pkgconf/libm.h: Tidy display string capitalization.
197 1999-04-07 Jesper Skov <jskov@cygnus.co.uk>
199 * tests/vectors/vector_support.h: Make an occasional chirp to keep
200 the testing infra interested.
202 1999-04-06 Gary Thomas <gthomas@cygnus.co.uk>
204 * src/PKGconf.mak: More brute-force fix for ARM compiler
207 1999-03-31 Jonathan Larmour <jlarmour@cygnus.co.uk>
209 * include/pkgconf/libm.h: Remove unnecessary define
212 1999-03-29 Gary Thomas <gthomas@cygnus.co.uk>
214 * src/PKGconf.mak: Add special compile options to work around ARM
217 1999-02-09 Jonathan Larmour <jlarmour@cygnus.co.uk>
219 * src/mathincl/fdlibm.h:
220 Change definition of CYG_LIBM_HI/CYG_LIBM_LO to use inline
224 1999-01-28 Jonathan Larmour <jlarmour@cygnus.co.uk>
226 * src/misc/signgam.cxx:
227 * src/misc/compatmode.cxx:
228 Include <pkgconf/kernel.h> if we use kernel header files
230 1999-01-21 Jonathan Larmour <jlarmour@cygnus.co.uk>
232 * tests/vectors/vector_support.h (doTestVec): Makes more
233 sense to output vector number than array index
235 * src/double/portable-api/s_ceil.c: Fix comment s/+inf/-inf/
237 1999-01-20 Jonathan Larmour <jlarmour@cygnus.co.uk>
239 * tests/vectors/vector_support.h (doTestVec):
240 Add output to let you know which vectors failed
242 1999-01-12 Gary Thomas <gthomas@cygnus.co.uk>
244 * src/mathincl/fdlibm.h:
245 * include/sys/ieeefp.h: Add different structure layouts for
246 machines that have doubles that aren't pure big/little endian.
248 Fri Oct 23 19:27:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
250 * tests/vectors/vector_support.h (START_TEST):
251 Ensure that dummy START_TEST (the one used when the test should
252 *not* be run) does have a reference to the test function. And
253 make sure that there is a default one if there's no C API
255 * src/mathincl/fdlibm.h:
256 Add matherr() prototype if no namespace pollution
260 1998-10-22 Jesper Skov <jskov@cygnus.co.uk>
263 * include/pkgconf/libm.h:
264 * src/misc/matherr.c:
265 Removed the CYGFUN_LIBM_matherr config. The function is already
266 weakly defined so shouldn't need to be configured out.
268 1998-10-19 Mark Galassi <rosalia@cygnus.com>
270 * include/pkgconf/libm.h: updated the doc URL
272 Thu Oct 15 21:36:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
274 * src/misc/compatmode.cxx, src/misc/signgam.cxx:
275 Only include kernel headers if we want thread-safe operation
276 Required for PR 17229
278 Wed Oct 14 17:24:46 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
280 * include/pkgconf/libm.h:
281 Make CYGPKG_LIBM_COMPATIBILITY_DEFAULT require CYGPKG_LIBC
282 rather than all of libm, and put a check (with #error) that
285 * src/double/ieee754-api/w_scalb.c:
286 Only include errno.h if we aren't IEEE-only
288 * src/double/portable-api/s_ldexp.c, src/misc/standard.c:
289 Make the error checking in s_ldexp.c more like every other libm
290 sources by putting the actual error handling into standard.c.
291 The error handling is just like scalb
293 * tests/vectors/acos.c, tests/vectors/asin.c,
294 tests/vectors/atan.c, tests/vectors/atan2.c,
295 tests/vectors/ceil.c, tests/vectors/cos.c, tests/vectors/cosh.c,
296 tests/vectors/exp.c, tests/vectors/fabs.c,
297 tests/vectors/floor.c, tests/vectors/fmod.c,
298 tests/vectors/frexp.c, tests/vectors/ldexp.c,
299 tests/vectors/log.c, tests/vectors/log10.c,
300 tests/vectors/modf.c, tests/vectors/pow.c, tests/vectors/sin.c,
301 tests/vectors/sinh.c, tests/vectors/sqrt.c, tests/vectors/tan.c,
302 tests/vectors/tanh.c:
303 Remove unnecessary include of <errno.h>
305 * tests/vectors/vector_support.h:
306 Only include errno.h if we aren't IEEE-only.
307 If we don't have Cyg_ErrNo, just use a cyg_int32 instead, to
308 make sure that the fields are still correct for the input
310 In doTestVec(), before checking errno, check if we're
311 in IEEE mode (either compiled in or set at runtime) because if
312 so, and errno is set in the errno field of the input test
313 vector, then we have to skip this, since we can't validate the
315 In all modes, if errno is set in the input test vector, don't
316 bother checking the actual values
318 All of the above changes are for PR 17503
320 * tests/vectors/pow.c:
321 Remove requirement of being in POSIX mode, as the change to
322 vector_support.h should make this work better now.
325 Sun Sep 27 20:46:09 1998 David Moore <dsm@keema.cygnus.co.uk>
327 * include/pkgconf/libm.h:
328 PR 17515: Corrected notcdl doc string.
330 1998-09-26 Bart Veer <bartv@cygnus.co.uk>
332 * include/pkgconf/libm.h:
333 PR 17503: there are uses of errno in a couple of places in libm,
334 and errno will only be available if the C library is present.
335 Therefore libm requires libc.
338 Fri Sep 25 19:00:35 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
340 * src/misc/compatmode.cxx:
341 Make sure CYGNUM_LIBM_COMPATMODE_TRACE_LEVEL is defined before
342 we attempt tracing, otherwise set trace level to 0 i.e. never
344 * src/misc/signgam.cxx:
345 Make sure CYGNUM_LIBM_SIGNGAM_TRACE_LEVEL is defined before
346 we attempt tracing, otherwise set trace level to 0 i.e. never
349 * include/pkgconf/libm.h:
350 Define trace levels only if parent CYGPKG_LIBM_TRACE is defined
351 for consistency with Configuration Tool
353 Fri Sep 25 18:25:02 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
355 * include/pkgconf/libm.h:
356 Only check valid compatibility setting if we aren't IEEE-only
360 Fri Sep 25 18:13:24 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
362 * src/mathincl/fdlibm.h:
363 * src/double/ieee754-core/e_scalb.c:
364 * src/double/ieee754-api/w_scalb.c:
365 Use CYGFUN_LIBM_SVID3_scalb for whether 2nd arg of scalb is
366 double or int, rather than _SCALB_INT.
369 Wed Sep 23 08:07:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
371 * tests/vectors/pow.c (test):
372 Make pow test conditional on being in POSIX compatibility mode.
373 This is the only mode that can set errno correctly, in
374 relation to what the tests expect.
377 1998-09-20 Mark Galassi <rosalia@cygnus.com>
379 * include/pkgconf/libm.h: updated CDL doc strings.
381 Thu Sep 17 17:10:47 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
383 * tests/vectors/vector_support.h (checkErrorAcceptable):
384 Move check for signed-ness after all of the special cases
387 Tue Sep 15 19:26:32 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
389 * include/pkgconf/libm.h:
390 Updated descriptions and a few other minor things after review
392 1998-09-11 Bart Veer <bartv@cygnus.co.uk>
394 * include/pkgconf/libm.h:
395 Sorting out dependencies for error package.
397 Fri Sep 4 14:20:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
399 * include/pkgconf/libm.h:
400 Fix thread-safe modes "requires" lines not to be associated
401 with the dummy parent package, but with the options themselves.
402 Also we don't need "requires CYGPKG_KERNEL" if we already require
403 a particular kernel option anyway.
405 Thu Sep 3 09:50:20 1998 Tim Goodwin <tgoodwin@cygnus.co.uk>
407 * tests/vectors/vector_support.h
408 Change to cyg_thread_create() interface.
410 Wed Sep 2 14:41:54 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
412 * include/pkgconf/libm.h:
413 Add default define for CYGPKG_LIBM_COMPATIBILITY_DEFAULT,
414 and shorten some display texts
416 Wed Sep 2 13:15:43 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
418 * src/double/ieee754-core/e_pow.c:
419 Fix bug for when x is negative and y isn't an integer. A CYGNUS
420 LOCAL change got it wrong when casting a signed integer to
421 unsigned before right shifting.
423 Reformat for 76 columns
425 * src/double/ieee754-api/w_pow.c:
426 Reformat for 76 columns
429 Wed Sep 2 12:30:11 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
431 * include/pkgconf/libm.h:
432 Default tracing to off
433 Reformat for 76 columns
435 * tests/vectors/vector_support.h:
436 Align '{'s and "verbs" on the same line. Tidy to 76 columns
438 Mon Aug 31 13:38:25 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
440 * include/pkgconf/libm.h:
441 Require infra tracing support to allow tracing
443 1998-08-28 Bart Veer <bartv@cygnus.co.uk>
445 * include/pkgconf/libm.h:
446 * src/misc/compatmode.cxx, src/misc/signgam.cxx:
447 * tests/vectors/vector_support.h
449 Updated for new kernel configuration option symbol names
451 Fri Aug 28 09:07:07 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
453 * tests/vectors/vector_support.h:
454 Change START_TEST macro, adjust config options and add
455 cyg_package_start() to get tests working correctly with new entry
456 point mechanism, including cyg_iso_c_start() if available
458 Wed Aug 26 20:25:36 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
460 * include/pkgconf/libm.h:
461 Remove #define CYGPKG_LIBM is that is meant to live in
462 <pkgconf/system.h> after all
465 Wed Aug 26 19:38:54 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
467 * include/pkgconf/libm.h:
468 More fixes to CDL stuff to make it work better, and look better on
471 Tue Aug 25 20:23:25 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
473 * include/pkgconf/libm.h:
474 Make some fixes after running the ConfigTool
476 Tue Aug 25 16:59:11 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
478 * include/pkgconf/libm.h:
479 Turns out the nesting wasn't quite right. Correct it, and replace
480 the "not" prefix on CFG_DATA, which slipped in to the previous change.
482 Tue Aug 25 16:53:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
484 * include/pkgconf/libm.h:
485 Ensure there is a default compatibility mode and fix the
486 ifdef nesting for the compat modes
488 Tue Aug 25 15:24:51 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
490 * include/pkgconf/libm.h:
491 Tidy up CDL stuff prior to checking if it all actually works!
493 Tue Aug 25 05:17:55 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
495 * include/pkgconf/libm.h:
496 Do a first pass of CDLification of configuration data
498 * include/pkgconf/libm.h, src/misc/matherr.c:
499 Rename CYGFUN_LIBC_matherr to CYGFUN_LIBM_matherr
501 Wed Aug 19 19:35:16 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
503 * tests/vectors/acos.c, tests/vectors/cosh.c, tests/vectors/ldexp.c,
504 tests/vectors/sinh.c, tests/vectors/asin.c, tests/vectors/exp.c,
505 tests/vectors/log.c, tests/vectors/sqrt.c, tests/vectors/atan.c,
506 tests/vectors/fabs.c, tests/vectors/log10.c, tests/vectors/tan.c,
507 tests/vectors/atan2.c, tests/vectors/floor.c, tests/vectors/modf.c,
508 tests/vectors/tanh.c, tests/vectors/ceil.c, tests/vectors/fmod.c,
509 tests/vectors/pow.c, tests/vectors/cos.c, tests/vectors/frexp.c,
512 * tests/vectors/vector_support.h (doTestVec):
513 Remove "register" on variable
515 Wed Aug 19 18:59:47 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
517 * src/double/ieee754-core/e_gamma.c,
518 src/double/ieee754-core/e_lgamma.c,
519 src/double/ieee754-api/w_gamma.c,
520 src/double/ieee754-api/w_lgamma.c:
521 Remove direct reference to extern int signgam and include <math.h>
524 Mon Jul 27 23:47:52 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
526 * include/math.h, include/pkgconf/libm.h,
527 src/double/ieee754-api/w_acos.c, src/double/ieee754-api/w_acosh.c,
528 src/double/ieee754-api/w_asin.c, src/double/ieee754-api/w_atan2.c,
529 src/double/ieee754-api/w_atanh.c, src/double/ieee754-api/w_cosh.c,
530 src/double/ieee754-api/w_exp.c, src/double/ieee754-api/w_fmod.c,
531 src/double/ieee754-api/w_gamma.c,
532 src/double/ieee754-api/w_gamma_r.c,
533 src/double/ieee754-api/w_hypot.c, src/double/ieee754-api/w_j0.c,
534 src/double/ieee754-api/w_j1.c, src/double/ieee754-api/w_jn.c,
535 src/double/ieee754-api/w_lgamma.c,
536 src/double/ieee754-api/w_lgamma_r.c,
537 src/double/ieee754-api/w_log.c,
538 src/double/ieee754-api/w_log10.c, src/double/ieee754-api/w_pow.c,
539 src/double/ieee754-api/w_remainder.c,
540 src/double/ieee754-api/w_scalb.c, src/double/ieee754-api/w_sinh.c,
541 src/double/ieee754-api/w_sqrt.c, src/double/ieee754-core/e_acos.c,
542 src/double/ieee754-core/e_acosh.c,
543 src/double/ieee754-core/e_asin.c,
544 src/double/ieee754-core/e_atan2.c,
545 src/double/ieee754-core/e_atanh.c,
546 src/double/ieee754-core/e_cosh.c,
547 src/double/ieee754-core/e_exp.c, src/double/ieee754-core/e_fmod.c,
548 src/double/ieee754-core/e_gamma.c,
549 src/double/ieee754-core/e_gamma_r.c,
550 src/double/ieee754-core/e_hypot.c, src/double/ieee754-core/e_j0.c,
551 src/double/ieee754-core/e_j1.c, src/double/ieee754-core/e_jn.c,
552 src/double/ieee754-core/e_lgamma.c,
553 src/double/ieee754-core/e_lgamma_r.c,
554 src/double/ieee754-core/e_log.c, src/double/ieee754-core/e_log10.c,
555 src/double/ieee754-core/e_pow.c,
556 src/double/ieee754-core/e_rem_pio2.c,
557 src/double/ieee754-core/e_remainder.c,
558 src/double/ieee754-core/e_scalb.c,
559 src/double/ieee754-core/e_sinh.c,
560 src/double/ieee754-core/e_sqrt.c, src/double/internal/k_cos.c,
561 src/double/internal/k_rem_pio2.c, src/double/internal/k_sin.c,
562 src/double/internal/k_tan.c, src/double/portable-api/s_asinh.c,
563 src/double/portable-api/s_atan.c, src/double/portable-api/s_cbrt.c,
564 src/double/portable-api/s_ceil.c,
565 src/double/portable-api/s_copysign.c,
566 src/double/portable-api/s_cos.c, src/double/portable-api/s_erf.c,
567 src/double/portable-api/s_expm1.c,
568 src/double/portable-api/s_fabs.c,
569 src/double/portable-api/s_finite.c,
570 src/double/portable-api/s_floor.c,
571 src/double/portable-api/s_frexp.c,
572 src/double/portable-api/s_ilogb.c,
573 src/double/portable-api/s_isnan.c,
574 src/double/portable-api/s_ldexp.c,
575 src/double/portable-api/s_log1p.c,
576 src/double/portable-api/s_logb.c,
577 src/double/portable-api/s_modf.c,
578 src/double/portable-api/s_nextafter.c,
579 src/double/portable-api/s_rint.c,
580 src/double/portable-api/s_scalbn.c,
581 src/double/portable-api/s_significand.c,
582 src/double/portable-api/s_sin.c, src/double/portable-api/s_tan.c,
583 src/double/portable-api/s_tanh.c, src/mathincl/fdlibm.h,
588 Mon Jul 27 22:52:24 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
590 * tests/vectors/vector_support.h (doTestVec):
591 Remove "register" when declaring variable i
593 * host/acosgen.c, host/cosgen.c, host/fmodgen.c, host/modfgen.c,
594 host/tangen.c, host/asingen.c, host/coshgen.c, host/frexpgen.c,
595 host/powgen.c, host/tanhgen.c, host/atan2gen.c, host/expgen.c,
596 host/ldexpgen.c, host/singen.c, host/atangen.c, host/fabsgen.c,
597 host/log10gen.c, host/sinhgen.c, host/ceilgen.c, host/floorgen.c,
598 host/loggen.c, host/sqrtgen.c:
599 Remove "register" when declaring variable "int x"
601 Mon Jul 27 22:45:01 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
603 * tests/vectors/vector_support.h (checkErrorAcceptable):
604 Add extra check for tolerance acceptance so it behaves correctly with
605 underflow and overflow
607 Also reverse sense of checkErrorAcceptable() so it now returns
608 false on success and true on failure, as suggested by hmt. Change
609 this in doTestVec() (which is where it is called) too.
611 * tests/vectors/vector_support.h:
612 Remove #if 0'd shift_double() function
614 Mon Jul 27 21:55:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
616 * src/mathincl/fdlibm.h:
617 Rename CYGONCE_LIBM_FDLIBM_H to CYGONCE_LIBM_MATHINCL_FDLIBM_H as per
620 Fri Jul 24 22:20:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
622 * include/math.h, include/pkgconf/libm.h,
623 src/double/ieee754-api/w_acos.c, src/double/ieee754-api/w_acosh.c,
624 src/double/ieee754-api/w_asin.c, src/double/ieee754-api/w_atan2.c,
625 src/double/ieee754-api/w_atanh.c, src/double/ieee754-api/w_cosh.c,
626 src/double/ieee754-api/w_exp.c, src/double/ieee754-api/w_fmod.c,
627 src/double/ieee754-api/w_gamma.c, src/double/ieee754-api/w_gamma_r.c,
628 src/double/ieee754-api/w_hypot.c, src/double/ieee754-api/w_j0.c,
629 src/double/ieee754-api/w_j1.c, src/double/ieee754-api/w_jn.c,
630 src/double/ieee754-api/w_lgamma.c,
631 src/double/ieee754-api/w_lgamma_r.c, src/double/ieee754-api/w_log.c,
632 src/double/ieee754-api/w_log10.c, src/double/ieee754-api/w_pow.c,
633 src/double/ieee754-api/w_remainder.c,
634 src/double/ieee754-api/w_scalb.c, src/double/ieee754-api/w_sinh.c,
635 src/double/ieee754-api/w_sqrt.c, src/mathincl/fdlibm.h,
636 src/misc/compatmode.cxx, src/misc/matherr.c, src/misc/signgam.cxx,
639 Rename libm config option names as per the libm coding standard
640 review. Chiefly ensuring that CYGXXX_ prefixes are correct
642 * src/misc/matherr.c, include/pkgconf/libm.h:
643 Add new CYGFUN_LIBC_matherr config option to prevent inclusion of
646 Mon Jul 20 18:07:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
648 * src/misc/infconst.c:
649 Oops. Don't let cyg_libm_infinity be static!
651 Thu Jul 16 20:07:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
653 * include/math.h, include/sys/ieeefp.h, src/misc/infconst.c:
654 Remove union Cyg_libm_int_double from math.h, which was used to
655 define infinity, and replace with use of
656 Cyg_libm_ieee_double_shape_type from ieeefp.h
658 That type (which is a union) is now reordered so that it can be
659 initialised in terms of two int's
661 Mon Jul 13 21:55:06 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
663 * src/double/ieee754-api/w_acos.c, src/double/ieee754-api/w_acosh.c,
664 src/double/ieee754-api/w_asin.c, src/double/ieee754-api/w_atan2.c,
665 src/double/ieee754-api/w_atanh.c, src/double/ieee754-api/w_cosh.c,
666 src/double/ieee754-api/w_exp.c, src/double/ieee754-api/w_fmod.c,
667 src/double/ieee754-api/w_gamma.c, src/double/ieee754-api/w_gamma_r.c,
668 src/double/ieee754-api/w_hypot.c, src/double/ieee754-api/w_j0.c,
669 src/double/ieee754-api/w_j1.c, src/double/ieee754-api/w_jn.c,
670 src/double/ieee754-api/w_lgamma.c,
671 src/double/ieee754-api/w_lgamma_r.c, src/double/ieee754-api/w_log.c,
672 src/double/ieee754-api/w_log10.c, src/double/ieee754-api/w_pow.c,
673 src/double/ieee754-api/w_remainder.c,
674 src/double/ieee754-api/w_scalb.c, src/double/ieee754-api/w_sinh.c,
675 src/double/ieee754-api/w_sqrt.c, src/double/ieee754-core/e_acos.c,
676 src/double/ieee754-core/e_acosh.c, src/double/ieee754-core/e_asin.c,
677 src/double/ieee754-core/e_atan2.c, src/double/ieee754-core/e_atanh.c,
678 src/double/ieee754-core/e_cosh.c, src/double/ieee754-core/e_exp.c,
679 src/double/ieee754-core/e_fmod.c, src/double/ieee754-core/e_gamma.c,
680 src/double/ieee754-core/e_gamma_r.c,
681 src/double/ieee754-core/e_hypot.c, src/double/ieee754-core/e_j0.c,
682 src/double/ieee754-core/e_j1.c, src/double/ieee754-core/e_jn.c,
683 src/double/ieee754-core/e_lgamma.c,
684 src/double/ieee754-core/e_lgamma_r.c,
685 src/double/ieee754-core/e_log.c, src/double/ieee754-core/e_log10.c,
686 src/double/ieee754-core/e_pow.c,
687 src/double/ieee754-core/e_rem_pio2.c,
688 src/double/ieee754-core/e_remainder.c,
689 src/double/ieee754-core/e_scalb.c, src/double/ieee754-core/e_sinh.c,
690 src/double/ieee754-core/e_sqrt.c, src/double/internal/k_cos.c,
691 src/double/internal/k_rem_pio2.c, src/double/internal/k_sin.c,
692 src/double/internal/k_tan.c, src/double/portable-api/s_asinh.c,
693 src/double/portable-api/s_atan.c, src/double/portable-api/s_cbrt.c,
694 src/double/portable-api/s_ceil.c,
695 src/double/portable-api/s_copysign.c,
696 src/double/portable-api/s_cos.c, src/double/portable-api/s_erf.c,
697 src/double/portable-api/s_expm1.c, src/double/portable-api/s_fabs.c,
698 src/double/portable-api/s_finite.c,
699 src/double/portable-api/s_floor.c, src/double/portable-api/s_frexp.c,
700 src/double/portable-api/s_ilogb.c, src/double/portable-api/s_isnan.c,
701 src/double/portable-api/s_ldexp.c, src/double/portable-api/s_log1p.c,
702 src/double/portable-api/s_logb.c, src/double/portable-api/s_modf.c,
703 src/double/portable-api/s_nextafter.c,
704 src/double/portable-api/s_rint.c, src/double/portable-api/s_scalbn.c,
705 src/double/portable-api/s_significand.c,
706 src/double/portable-api/s_sin.c, src/double/portable-api/s_tan.c,
707 src/double/portable-api/s_tanh.c, src/misc/standard.c:
709 Make #ifdef __STDC__ bits compulsory and remove the associated #else
710 clause. We know that gcc is ISO C compatible!
712 Tue Jul 7 16:05:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
714 * src/misc/compatmode.cxx:
715 Fix conditionalisation to prevent unused variable warning for tracing
717 Thu Jun 25 04:58:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
719 * tests/vectors/acos.c, tests/vectors/acos.h, tests/vectors/asin.c,
720 tests/vectors/asin.h, tests/vectors/atan.c, tests/vectors/atan.h,
721 tests/vectors/atan2.c, tests/vectors/atan2.h, tests/vectors/ceil.c,
722 tests/vectors/ceil.h, tests/vectors/cos.c, tests/vectors/cos.h,
723 tests/vectors/cosh.c, tests/vectors/cosh.h, tests/vectors/exp.c,
724 tests/vectors/exp.h, tests/vectors/fabs.c, tests/vectors/fabs.h,
725 tests/vectors/floor.c, tests/vectors/floor.h, tests/vectors/fmod.c,
726 tests/vectors/fmod.h, tests/vectors/frexp.c, tests/vectors/frexp.h,
727 tests/vectors/ldexp.c, tests/vectors/ldexp.h, tests/vectors/log.c,
728 tests/vectors/log.h, tests/vectors/log10.c, tests/vectors/log10.h,
729 tests/vectors/modf.c, tests/vectors/modf.h, tests/vectors/pow.c,
730 tests/vectors/pow.h, tests/vectors/sin.c, tests/vectors/sin.h,
731 tests/vectors/sinh.c, tests/vectors/sinh.h, tests/vectors/sqrt.c,
732 tests/vectors/sqrt.h, tests/vectors/tan.c, tests/vectors/tan.h,
733 tests/vectors/tanh.c, tests/vectors/tanh.h,
734 tests/vectors/vector_support.h:
735 Add math library tests for functions specified in the ISO standard.
736 These are based on precomputed test vectors
739 Create with above files being built
741 * host/acosgen.c, host/asingen.c, host/atan2gen.c, host/atangen.c,
742 host/ceilgen.c, host/cosgen.c, host/coshgen.c, host/expgen.c,
743 host/fabsgen.c, host/floorgen.c, host/fmodgen.c, host/frexpgen.c,
744 host/ldexpgen.c, host/log10gen.c, host/loggen.c, host/modfgen.c,
745 host/powgen.c, host/singen.c, host/sinhgen.c, host/sqrtgen.c,
746 host/tangen.c, host/tanhgen.c:
747 Host-side (and currently linux-specific) sources to automatically
748 generate test vector data used by the above tests.
750 * include/pkgconf/libm.h:
751 Ensure the kernel C API is available if we want thread safety
753 Wed Jun 24 15:42:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
755 * src/misc/standard.c:
758 Wed Jun 24 13:04:30 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
760 * src/misc/standard.c:
761 Fix #defines for IEEE mode, revealed by permutation testing
763 Mon Jun 22 14:42:50 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
765 * src/misc/infconst.c:
768 Sun Jun 21 04:42:18 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
770 * include/sys/ieeefp.h:
771 Add this to allow bitfield break down of IEEE floating point doubles
773 Wed Jun 17 08:55:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
775 * include/pkgconf/libm.h:
776 Make the use of stderr for messages _not_ the default
777 Make thread safety the default
779 * src/misc/standard.c:
780 Change alternative for fprintf(stderr,...) _not_ being used from
781 "CYG_EMPTY_STATEMENT" to just "0" to placate compiler.
783 Mon Jun 15 19:59:36 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
785 * src/misc/compatmode.cxx:
786 Fix typo in compatibility mode name
788 Fri Jun 5 16:31:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
790 * src/misc/signgam.cxx, src/misc/compatmode.cxx:
791 Fix some minor typos when thread safety is turned on
794 Correct syntax of weak attribute
796 Fri Jun 5 07:07:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
798 * Initial check-in of all math library sources. Based on fdlibm-5.2.
801 //===========================================================================
802 //####ECOSGPLCOPYRIGHTBEGIN####
803 // -------------------------------------------
804 // This file is part of eCos, the Embedded Configurable Operating System.
805 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
807 // eCos is free software; you can redistribute it and/or modify it under
808 // the terms of the GNU General Public License as published by the Free
809 // Software Foundation; either version 2 or (at your option) any later version.
811 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
812 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
813 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
816 // You should have received a copy of the GNU General Public License along
817 // with eCos; if not, write to the Free Software Foundation, Inc.,
818 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
820 // As a special exception, if other files instantiate templates or use macros
821 // or inline functions from this file, or you compile this file and link it
822 // with other works to produce a work based on this file, this file does not
823 // by itself cause the resulting work to be covered by the GNU General Public
824 // License. However the source code for this file must still be made available
825 // in accordance with section (3) of the GNU General Public License.
827 // This exception does not invalidate any other reasons why a work based on
828 // this file might be covered by the GNU General Public License.
830 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
831 // at http://sources.redhat.com/ecos/ecos-license/
832 // -------------------------------------------
833 //####ECOSGPLCOPYRIGHTEND####
834 //===========================================================================