Performance fixes relating to floating point

Removes unneccesary usage of soft-float double usage. The reason for the
useless double math being done were broken standard C++ functions:
atanh<float>, sqrt<float>, asinh<float>, operator/<float>. This was in
turn caused by missing float versions of C++ functions hypot, atan2,
logb, scalbn.

A logbf implementation was missing from the libm, so I added one from
openlibm.
This commit is contained in:
Neven Sajko
2020-02-24 02:07:05 +00:00
committed by LeaNumworks
parent c92b770112
commit bdc5be94b6
3 changed files with 46 additions and 1 deletions

View File

@@ -65,6 +65,7 @@ liba_src += $(addprefix liba/src/external/openbsd/, \
s_frexp.c \
s_log1pf.c \
s_logb.c \
s_logbf.c \
s_modf.c \
s_modff.c \
s_rint.c \