1
0
Fork 0
mirror of git://git.musl-libc.org/musl synced 2025-03-06 20:48:29 +01:00

arm fabs and sqrt: support single-precision-only fpu variants

This commit is contained in:
Jinliang Li 2020-11-20 18:45:03 +08:00 committed by Rich Felker
parent c8c3e341fb
commit 6e98924890
2 changed files with 2 additions and 2 deletions
src/math/arm

View file

@ -1,6 +1,6 @@
#include <math.h>
#if __ARM_PCS_VFP
#if __ARM_PCS_VFP && __ARM_FP&8
double fabs(double x)
{

View file

@ -1,6 +1,6 @@
#include <math.h>
#if __ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)
#if (__ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)) && (__ARM_FP&8)
double sqrt(double x)
{