This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Pushed.


Thanks,
Corinna


-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]