projects
/
libm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f1dec1f4c0a16011b153c4ed97b8f0fa2fae6df6
[libm]
/
src
/
math
/
fabsl.c
1
#include "libm.h"
2
#if LD64
3
long double fabsl(long double x)
4
{
5
return fabs(x);
6
}
7
#elif LD80 || LD128
8
long double fabsl(long double x)
9
{
10
union ldshape u = {x};
11
12
u.bits.sign = 0;
13
return u.value;
14
}
15
#endif