math: add single precision error handling functions
commit9ef6ca4235b7a66aefa432295c02b4df64a53f2e
authorSzabolcs Nagy <nsz@port70.net>
Sun, 22 Oct 2017 13:51:35 +0000 (22 13:51 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 17 Apr 2019 17:08:42 +0000 (17 13:08 -0400)
tree21c1f5ef1a000735d15242cf4e0c4bde50b56ae7
parentfe54544f055959bb7406758881d0fb85920b3f0e
math: add single precision error handling functions

These are supposed to be used in tail call positions when handling
special cases in new code. (fp exceptions may be raised "naturally"
by the common code path if special casing is more effort.)

This implements the error handling apis used in
https://github.com/ARM-software/optimized-routines
without errno setting.
src/internal/libm.h
src/math/__math_divzerof.c [new file with mode: 0644]
src/math/__math_invalidf.c [new file with mode: 0644]
src/math/__math_oflowf.c [new file with mode: 0644]
src/math/__math_uflowf.c [new file with mode: 0644]
src/math/__math_xflowf.c [new file with mode: 0644]