one more fenv availability issue: lround
This commit is contained in:
parent
2e77dc13f8
commit
d3fc724759
1 changed files with 2 additions and 0 deletions
|
|
@ -58,7 +58,9 @@ dtype fn(type x)
|
||||||
x = roundit(x);
|
x = roundit(x);
|
||||||
return (dtype)x;
|
return (dtype)x;
|
||||||
} else {
|
} else {
|
||||||
|
#ifdef FE_INVALID
|
||||||
feraiseexcept(FE_INVALID);
|
feraiseexcept(FE_INVALID);
|
||||||
|
#endif
|
||||||
return DTYPE_MAX;
|
return DTYPE_MAX;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue