[PATCH v2] New expf, exp2f, logf, log2f and powf implementations
Mon Oct 23 17:16:00 GMT 2017
On Oct 17 14:01, Szabolcs Nagy wrote:
> >From 23753d87bfcf048c5fa0a297d7cce48b733b696b Mon Sep 17 00:00:00 2001
> From: Szabolcs Nagy <firstname.lastname@example.org>
> Date: Tue, 17 Oct 2017 12:41:20 +0100
> Subject: [PATCH] fix internal __ieee754_expf and __ieee754_logf calls
> The recently added new math code inlines error handling instead of using
> error handling wrappers around __ieee754* internal symbols, and thus the
> __ieee754* symbols are no longer provided.
> However __ieee754_expf and __ieee754_logf are used in the implementation
> of a number of other math functions. These symbols are safe to redirect
> to the external expf and logf symbols, because those names are always
> reserved when single precision math functions are reserved and the
> additional error handling code is either not reached or there will be
> an error in the final result that will override an internal spurious
> errno setting.
> For consistency all of __ieee754_expf, __ieee754_logf and __ieee754_powf
> are redirected using a macro.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the Newlib