This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Single-precision float version of matherr
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>, "jozef dot l at mittosystems dot com" <jozef dot l at mittosystems dot com>
- Cc: nd <nd at arm dot com>
- Date: Mon, 3 Dec 2018 12:22:38 +0000
- Subject: Re: Single-precision float version of matherr
Hi,
Rather than keeping it, consider just removing all support for matherr since it is
obsolete (http://man7.org/linux/man-pages/man3/matherr.3.html):
"Note: the mechanism described in this page is no longer supported by
glibc. Before glibc 2.27, it had been marked as obsolete. Since
glibc 2.27, the mechanism has been removed altogether. New
applications should use the techniques described in math_error(7) and
fenv(3). This page documents the matherr() mechanism as an aid for
maintaining and porting older applications."
I'm sure no embedded application uses matherr since it is a historical
System V oddity, so nobody will ever miss it. Note that the recently rewritten
math functions in newlib do not use matherr at all.
Wilco