diff options
Diffstat (limited to 'sysdeps/aarch64/fpu/s_floorf.c')
-rw-r--r-- | sysdeps/aarch64/fpu/s_floorf.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/aarch64/fpu/s_floorf.c b/sysdeps/aarch64/fpu/s_floorf.c index 7be63b5..fa6fa17 100644 --- a/sysdeps/aarch64/fpu/s_floorf.c +++ b/sysdeps/aarch64/fpu/s_floorf.c @@ -16,6 +16,12 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#define FUNC floorf -#define INSN "frintm" -#include <s_frintf.c> +#include <math.h> + +float +__floorf (float x) +{ + return __builtin_floorf (x); +} + +weak_alias (__floorf, floorf) |