projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e4bdb26c5c9be6aa5754944be2ec5546f9c4070d
[musl]
/
src
/
math
/
nearbyintf.c
1
#include <fenv.h>
2
#include "libm.h"
3
4
float nearbyintf(float x) {
5
fenv_t e;
6
7
fegetenv(&e);
8
x = rintf(x);
9
fesetenv(&e);
10
return x;
11
}