This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Adding fenv.h for ARM and SPARC
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: Jon Beniston <jon at beniston dot com>, "aadit0402 at gmail dot com" <aadit0402 at gmail dot com>
- Cc: "newlib at sourceware dot org" <newlib at sourceware dot org>, nd <nd at arm dot com>
- Date: Mon, 14 Aug 2017 12:46:36 +0000
- Subject: Re: Adding fenv.h for ARM and SPARC
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco dot Dijkstra at arm dot com;
- Nodisclaimer: True
- References: <DB6PR0801MB20538C27339E7DE0E7A29E4E838C0@DB6PR0801MB2053.eurprd08.prod.outlook.com>,<012301d314f1$36362bb0$a2a28310$@beniston.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Jon Beniston wrote:
>>When you use software floating point there is no need for fenv. The
> rounding mode is
>> fixed and there are no exceptions.
>
> That's not true for the softfloat lib though (assuming we're talking about
> (http://www.jhauser.us/arithmetic/SoftFloat.html) - which I believe supports
> both.
I was guessing that wasn't what the OP meant. The spu target was mentioned,
which has an fenv implementation in newlib - but that is for hardware floating point.
But yes it would be good if the OP clarifies what they are proposing.
Wilco