The implementation is exactly the same as rint* as even rint does not
raise any floating point exceptions currently. [Note that the standards
do not specify that floating point exceptions must be raised - they
leave it up to the implementation to choose to raise FE_INEXACT when
rounding non-integral values.]
Details
Details
- Reviewers
lntue - Commits
- rG993d8ac5cb93: [libc] Add implementations of nearbyint[f|l].
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
120 ms | x64 windows > Clang.Profile::branch-logical-mixed.cpp |