arm fabs and sqrt: support single-precision-only fpu variants
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
#include <math.h>
|
||||
|
||||
#if __ARM_PCS_VFP
|
||||
#if __ARM_PCS_VFP && __ARM_FP&8
|
||||
|
||||
double fabs(double x)
|
||||
{
|
||||
|
||||
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user