From 6e989248904bc6576ff13a998986153b97a58172 Mon Sep 17 00:00:00 2001 From: Jinliang Li Date: Fri, 20 Nov 2020 18:45:03 +0800 Subject: arm fabs and sqrt: support single-precision-only fpu variants --- src/math/arm/sqrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/arm/sqrt.c') diff --git a/src/math/arm/sqrt.c b/src/math/arm/sqrt.c index 874af960..567e2e91 100644 --- a/src/math/arm/sqrt.c +++ b/src/math/arm/sqrt.c @@ -1,6 +1,6 @@ #include -#if __ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__) +#if (__ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)) && (__ARM_FP&8) double sqrt(double x) { -- cgit v1.2.1