fabsf.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/fabsf.c
blob: 4a217c98899d579831ba7d0e32036568fd09171e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <math.h>
#if __ARM_PCS_VFP && !BROKEN_VFP_ASM
float fabsf(float x)
{
	__asm__ ("vabs.f32 %0, %1" : "=t"(x) : "t"(x));
	return x;
}
#else
#include "../fabsf.c"
#endif
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月07日 10:12:26 +0000

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