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
Jozef Lawrynowicz
b14a879d85
Remove matherr, and SVID and X/Open math library configurations
...
Default math library configuration is now IEEE
2019-01-23 10:46:24 +01:00
Jeff Johnston
cd31fbb2ae
Add nvptx port.
...
- From: Cesar Philippidis <cesar@codesourcery.com>
Date: Tue, 10 Apr 2018 14:43:42 -0700
Subject: [PATCH] nvptx port
This port adds support for Nvidia GPU's, which are primarily used as
offload accelerators in OpenACC and OpenMP.
2018-04-13 15:42:37 -04:00
Jon Turney
c006fd459f
makedoc: make errors visible
...
Discard QUICKREF sections, rather than writing them to stderr
Discard MATHREF sections, rather than discarding as an error
Pass NOTES sections through to texinfo, rather than discarding as an error
Don't redirect makedoc stderr to .ref file
Remove makedoc output on error
Remove .ref files from CLEANFILES
Regenerate Makefile.ins
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2017-12-07 11:54:11 +00:00
Yaakov Selkowitz
ac8b60bdd1
complex: remove TRAD_SYNOPSIS
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-12-01 03:41:53 -06:00
Brian Inglis
f9b24fad7c
newlib/libm/complex/cargl.c change imag() real() to cimagl() creall()
2017-09-19 15:36:12 -05:00
Aditya Upadhyay
0e0900cb40
Importing catanl long double complex method from NetBSD.
2017-07-28 20:36:09 +02:00
Aditya Upadhyay
124ccc500e
Fixing HUGE_VALF to HUGE_VALL.
2017-07-28 20:30:30 +02:00
Corinna Vinschen
181d8393ae
newlib: fix file mode of newly added complex sources
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-06-29 15:30:35 +02:00
Corinna Vinschen
074ca98595
newlib: libm/complex/Makefile.in: regenerate
2017-06-29 13:55:10 +02:00
Aditya Upadhyay
45ae81fc91
Adding csinl.c in Makefile.am
...
Signed-off-by: Aditya Upadhyay <aadit0402@gmail.com>
2017-06-29 13:54:34 +02:00
Aditya Upadhyay
5bc320d3b5
Importing csinl.c from NetBSD.
2017-06-29 13:54:31 +02:00
Aditya Upadhyay
72b051888e
Importing csinhl.c from NetBSD.
2017-06-29 13:44:32 +02:00
Aditya Upadhyay
0d924f0e02
Importing casinhl.c from NetBSD.
2017-06-29 13:44:32 +02:00
Aditya Upadhyay
f834c77e7d
Importing ctanl.c from NetBSD.
2017-06-29 13:44:32 +02:00
Aditya Upadhyay
67b376ad3f
Importing ctanhl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
c907007fb0
Importing cpowl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
716d7107e4
Importing conjl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
fdf82d6f1b
Importing catanhl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
a168d244c6
Importing casinl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
ed09969078
Importing ccosl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
28daf6d48b
Importing cacosl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
eee8294c42
Adding cephes_subrl.h and cephes_subrl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
b1b12e1e00
Importing cexpl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
4c2556e935
Importing cprojl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
3f1f3a2299
Importing cargl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
436bf2929c
Importing csqrtl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
79c8462d86
Importing clogl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
934145f311
Importing cacoshl.c from NetBSD.
2017-06-29 13:44:31 +02:00
Aditya Upadhyay
35cd6863fb
ccoshl: Align formatting to upstream
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-06-14 10:36:38 +02:00
Aditya Upadhyay
ed82849b8f
Importing ccoshl.c from netbsd.
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-06-13 10:41:06 +02:00
Jon Turney
d7e47a557e
Regenerate newlib Makefiles
2016-07-04 17:13:55 +01:00
Yaakov Selkowitz
a9ab09dfa9
libm/complex: add clog10, clog10f
...
newlib/
* libc/include/complex.h (clog10, clog10f): Declare.
* libm/complex/Makefile.am (src): Add clog10.c.
(fsrc): Add clog10f.c.
(CHEWOUT_FILES): Add clog10.def.
* libm/complex/Makefile.in: Regenerate.
* libm/complex/clog10.c: New file.
* libm/complex/clog10f.c: New file.
* libm/complex/complex.tex: Add references to clog10 docs.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2016-02-22 14:43:41 -06:00
Jeff Johnston
ad7b3cde9c
Regenerate files for newlib 2.3.0.
2015-12-21 21:32:11 -05:00
Jeff Johnston
0631279394
Move duplicated documentation rules to Makefile.shared
...
- Also, harmonize libm to use CHEWOUT_FILES like libc, rather than chobj.
Update documentation appropriately.
* HOWTO: Update.
* Makefile.shared: Move documentation rules to here...
* libc/argz/Makefile.am: ... from here ...
* libc/ctype/Makefile.am: ... and here.
* libc/errno/Makefile.am: Ditto.
* libc/iconv/Makefile.am: Ditto.
* libc/iconv/ccs/Makefile.am : Ditto.
* libc/iconv/ces/Makefile.am: Ditto.
* libc/iconv/lib/Makefile.am: Ditto.
* libc/locale/Makefile.am: Ditto.
* libc/misc/Makefile.am: Ditto.
* libc/posix/Makefile.am: Ditto.
* libc/reent/Makefile.am: Ditto.
* libc/search/Makefile.am: Ditto.
* libc/stdio/Makefile.am: Ditto.
* libc/stdio64/Makefile.am: Ditto.
* libc/stdlib/Makefile.am : Ditto.
* libc/string/Makefile.am: Ditto.
* libc/syscalls/Makefile.am: Ditto.
* libc/time/Makefile.am : Ditto.
* libc/unix/Makefile.am: Ditto.
* libc/xdr/Makefile.am: Ditto.
* libm/common/Makefile.am: Ditto.
* libm/complex/Makefile.am: Ditto.
* libm/math/Makefile.am: Ditto.
* libm/mathfp/Makefile.am: Ditto.
2015-11-02 18:02:39 -05:00
Nick Clifton
b9e7cd9a84
* libc/include/complex.h (cabsl): Add prototype.
...
(cimagl): Add prototype.
(creall): Add prototype.
* libc/include/ieeefp.h: Include float.h.
(EXT_EXPBITS, EXT_FRACHBITS, EXT_FRACLBITS)
(EXT_EXP_INFNAN. EXT_EXP_BIAS, EXT_FRACBITS): Define.
(struct ieee_ext, union ieee_ext_u): New types for long double
support.
* libc/include/math.h (finitel): Add prototype.
(hypotl): Add prototype.
(sqrtl): Add prototype.
* libm/common/Makefile.am (lsrc): Add sl_finite.c.
* libm/common/Makefile.in: Regenerate.
* libm/common/fdlibm.h (__ieee754_hypotl): Add prototype.
* libm/common/hypotl.c (hypotl): Add implementation for when long
double is larger than double.
* libm/common/sqrtl.c (sqrtl): Likewise.
* libm/common/sl_finite.c: New file. Adds implementation of the
finitel function.
* libm/complex/Makefile.am (lsrc): Define.
(libcomplex_la_SOURCES): Add lsrc.
(lib_a_SOURCES): Add lsrc.
* libm/complex/Makefile.in: Regenerate.
* libm/complex/cabs.c: Add documentation of cabsl function.
* libm/complex/cimag.c: Add documentation of cimagl function.
* libm/complex/creall.c: Add documentation of creall function.
* libm/complex/cabsl.c: New file. Adds implementation of the
cabsl function.
* libm/complex/cimagl.c: New file. Adds implementation of the
cimagl function.
* libm/complex/creall.c: New file. Adds implementation of the
creall function.
* libm/math/Makefile.am (lsrc): Define.
(libmath_la_SOURCES): Add lsrc.
(lib_a_SOURCES): Add lsrc.
* libm/math/Makefile.in: Regenerate.
* libm/math/el_hypot.c: New file. Adds implementation of the
__ieee754_hypotl function.
2015-02-06 16:14:04 +00:00
Corinna Vinschen
6480b2ae76
* libm/complex/complex.tex: Fix wrong syntax in documentation.
...
* libm/math/math.tex: Ditto.
2014-02-20 18:59:10 +00:00
Jeff Johnston
25e21cbc32
2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
...
* configure.host: Define libm_machine_dir value for arm.
* libm/machine/configure.in: Add arm to libm machines list.
* libm/machine/configure: Regenerate.
* libm/machine/arm/Makefile.am: New file.
* libm/machine/arm/Makefile.in: Generated.
* libm/machine/arm/aclocal.m4: Generated.
* libm/machine/arm/configure: Generated.
* libm/machine/arm/configure.in: New file.
* libm/machine/arm/s_ceil.c: Likewise.
* libm/machine/arm/s_floor.c: Likewise.
* libm/machine/arm/s_nearbyint.c: Likewise.
* libm/machine/arm/s_rint.c: Likewise.
* libm/machine/arm/s_round.c: Likewise.
* libm/machine/arm/s_trunc.c: Likewise.
* libm/machine/arm/sf_ceil.c: Likewise.
* libm/machine/arm/sf_floor.c: Likewise.
* libm/machine/arm/sf_nearbyint.c: Likewise.
* libm/machine/arm/sf_rint.c: Likewise.
* libm/machine/arm/sf_round.c: Likewise.
* libm/machine/arm/sf_trunc.c: Likewise.
2012-12-04 21:43:21 +00:00
Corinna Vinschen
1d15e018c7
* libm/complex/cacos.c: Use temporaries and correct sequencing
...
error in previous reordering change.
2011-07-13 07:18:54 +00:00
Jeff Johnston
127c3221cd
2011-03-01 Aaron Landwehr <snaphat@gmail.com>
...
* libm/complex/cproj.c: Fix typo.
* libm/complex/cprojf.c: Ditto.
2011-03-01 21:43:15 +00:00
Corinna Vinschen
371a9496e8
* libm/complex/catan.c, libm/complex/catanf.c,
...
libm/complex/ctan.c, libm/complex/ctanf.c:
Use HUGE_VAL instead of MAXNUM.
2010-11-29 12:15:02 +00:00
Corinna Vinschen
abc9278b2d
* libm/complex/cargf.c: Use crealf instead of creal.
2010-11-26 08:59:22 +00:00
Jeff Johnston
d39e3a1edc
2010-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libm/complex/cacos.c: Reorder function calls to work around ICE
in arm/thumb-gcc.
2010-11-04 18:27:13 +00:00
Jeff Johnston
bf5300eaee
2010-10-18 Marco Atzeri <marco_atzeri@yahoo.it>
...
* libm/Makefile.am: added complex functions documentation
* libm/libm.texinfo: ditto
* libm/complex/Makefile.am: Ditto
* libm/complex/complex.tex: Ditto
* libm/complex/(cabs.c, cacos.c, cacosh.c, carg.c,
casin.c, casinh.c, catan.c, catanh.c, ccos.c, ccosh.c,
cexp.c, cimag.c, clog.c, conj.c, cpow.c, cproj.c, creal.c,
csin.c, csinh.c, csqrt.c, ctan.c, ctanh.c): Ditto
* libm/Makefile.in: Regenerate
* libm/complex/Makefile.in: Ditto
2010-10-18 22:40:24 +00:00
Corinna Vinschen
a26a5332da
* libm/complex/complex.tex: Add empty stub.
2010-10-08 15:01:14 +00:00
Corinna Vinschen
5af2a793bc
* libc/include/complex.h: New complex header.
...
* libm/common/fdlibm.h: Added ifdef _COMPLEX_H.
* libm/complex/*: New complex functions imported from NetBSD.
* libm/Makefile.am: Added complex subdir.
* libm/Makefile.in: Regenerate.
* libm/configure.in: Added complex subdir.
* libm/configure: Regenerate.
2010-10-08 10:35:14 +00:00