History log of /seL4-refos-master/libs/libmuslc/src/math/exp10f.c
Revision Date Author Comments
# 18daae31 18-Sep-2014 Szabolcs Nagy <nsz@port70.net>

math: fix exp10 not to raise invalid exception on NaN

This was not caught earlier because gcc incorrectly generates quiet
relational operators that never raise exceptions.


# a764db9a 17-Nov-2012 Szabolcs Nagy <nsz@port70.net>

math: use float constants in exp10f.c

use the 'f' suffix when a float constant is not representable


# a917c037 30-Apr-2012 Rich Felker <dalias@aerifal.cx>

support alternate glibc name pow10 for exp10


# f6819755 30-Apr-2012 Rich Felker <dalias@aerifal.cx>

first try at writing an efficient and "correct" exp10

this is a nonstandard function so it's not clear what conditions it
should satisfy. my intent is that it be fast and exact for positive
integral exponents when the result fits in the destination type, and
fast and correctly rounded for small negative integral exponents.
otherwise we aim for at most 1ulp error; it seems to differ from pow
by at most 1ulp and it's often 2-5 times faster than pow.