]> sourceware.org Git - newlib-cygwin.git/commit
fix internal __ieee754_expf and __ieee754_logf calls
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 17 Oct 2017 11:41:20 +0000 (12:41 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 20 Oct 2017 09:19:02 +0000 (11:19 +0200)
commit56e494c074ef1c790e455f10c37337c6009c814c
treedadffef14f35c165d5a866ae13cfb0ef4c73bf2e
parent3bdd4841034bb1264135e8bd94fc01f76ded39bb
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.
newlib/libm/common/fdlibm.h
This page took 0.032161 seconds and 5 git commands to generate.