newlib/newlib/libc/include/machine
Keith Packard via Newlib 45efe659b8 libm: Set math_errhandling to match library and hardware [v2]
math_errhandling is specified to contain two bits of information:

 1. MATH_ERRNO     -- Set when the library sets errno
 2. MATH_ERREXCEPT -- Set when math operations report exceptions

MATH_ERRNO should match whether the original math code is compiled in
_IEEE_LIBM mode and the new math code has WANT_ERRNO == 1.

MATH_ERREXCEPT should match whether the underlying hardware has
exception support. This patch adds configurations of this value for
RISC-V, ARM, Aarch64, x86 and x86_64 when using HW float.

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-08-04 19:30:45 +02:00
..
_arc4random.h Add arc4random() etc. from OpenBSD 5.8 2016-03-18 12:33:41 +01:00
_default_types.h Provide __intmax_t and __uintmax_t 2016-10-25 16:24:05 +02:00
_endian.h BSD compatibility for <machine/endian.h> 2016-04-19 16:36:51 +02:00
_time.h Move kernel dependent parts of <sys/time.h> 2016-04-08 11:34:42 +02:00
_types.h 2007-09-07 Patrick Mansfield <patmans@us.ibm.com> 2007-09-07 21:16:25 +00:00
ansi.h 2001-03-02 Jeff Johnston <jjohnstn@redhat.com> 2001-03-02 23:13:04 +00:00
endian.h BSD compatibility for <machine/endian.h> 2016-04-19 16:36:51 +02:00
fastmath.h ansification: remove _HAVE_STDC 2018-01-17 11:47:30 -06:00
ieeefp.h libm: Set math_errhandling to match library and hardware [v2] 2020-08-04 19:30:45 +02:00
malloc.h 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> 2002-04-19 19:16:22 +00:00
param.h 2004-05-07 Jeff Johnston <jjohnstn@redhat.com> 2004-05-07 20:39:57 +00:00
setjmp-dj.h 2012-03-09 Jeff Johnston <jjohnstn@redhat.com> 2012-03-09 20:26:39 +00:00
setjmp.h Optimize setjmp/longjmp for moxie. 2019-12-20 09:00:26 -05:00
stdlib.h 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> 2002-04-19 19:16:22 +00:00
termios.h 2002-05-28 Jeff Johnston <jjohnstn@redhat.com> 2002-05-28 22:26:36 +00:00
time.h Add RISC-V port for newlib 2017-08-16 18:00:58 -04:00
types.h Move RTEMS and XMK specific type definitions 2019-02-19 09:06:22 +01:00