fabs.c\arm\math\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/math/arm/fabs.c
blob: 6e1d367d3d6ad580798b3fb19ce6f8a070cf65e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <math.h>
#if __ARM_PCS_VFP && __ARM_FP&8
double fabs(double x)
{
	__asm__ ("vabs.f64 %P0, %P1" : "=w"(x) : "w"(x));
	return x;
}
#else
#include "../fabs.c"
#endif
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月06日 15:01:00 +0000

AltStyle によって変換されたページ (->オリジナル) /