projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math/gen: fix fma fenv flags on nan
[libc-test]
/
src
/
math
/
lroundf.c
diff --git
a/src/math/lroundf.c
b/src/math/lroundf.c
index
8590289
..
2f9a491
100644
(file)
--- a/
src/math/lroundf.c
+++ b/
src/math/lroundf.c
@@
-4,14
+4,14
@@
static struct f_i t[] = {
#include "sanity/lroundf.h"
static struct f_i t[] = {
#include "sanity/lroundf.h"
+#include "special/lroundf.h"
};
int main(void)
{
#pragma STDC FENV_ACCESS ON
};
int main(void)
{
#pragma STDC FENV_ACCESS ON
- int yi;
- float d;
+ long long yi;
int e, i, err = 0;
struct f_i *p;
int e, i, err = 0;
struct f_i *p;
@@
-32,7
+32,7
@@
int main(void)
err++;
}
if (yi != p->i) {
err++;
}
if (yi != p->i) {
- printf("%s:%d: %s lroundf(%a) want %lld got %d\n",
+ printf("%s:%d: %s lroundf(%a) want %lld got %
ll
d\n",
p->file, p->line, rstr(p->r), p->x, p->i, yi);
err++;
}
p->file, p->line, rstr(p->r), p->x, p->i, yi);
err++;
}