[PATCH v2] New expf, exp2f, logf, log2f and powf implementations

Corinna Vinschen vinschen@redhat.com
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 <szabolcs.nagy@arm.com>
> 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.



Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20171023/fcddd808/attachment.sig>

More information about the Newlib mailing list