projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
math: use the rounding idiom consistently
[oweals/musl.git]
/
src
/
math
/
significandf.c
1
#define _GNU_SOURCE
2
#include <math.h>
3
4
float significandf(float x)
5
{
6
return scalbnf(x, -ilogbf(x));
7
}