projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
unify strtof/strtod/strtold wrappers and fix initial whitespace issue
[oweals/musl.git]
/
src
/
math
/
__signbitl.c
1
#include "libm.h"
2
3
// FIXME: should be a macro
4
#if (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
5
int __signbitl(long double x)
6
{
7
union ldshape u = {x};
8
9
return u.bits.sign;
10
}
11
#endif