diff options
author | Siva Chandra Reddy <sivachandra@google.com> | 2021-01-01 21:19:31 -0800 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@google.com> | 2021-01-05 21:51:10 -0800 |
commit | 993d8ac5cb935b78fb136c25a7e4bae18852f429 (patch) | |
tree | 690eae4acc98330228e64b9a6e753604db6822a2 /clang/lib/Frontend | |
parent | cd088ba7e61a6132659d066918a1175861c9afe7 (diff) | |
download | llvm-993d8ac5cb935b78fb136c25a7e4bae18852f429.zip llvm-993d8ac5cb935b78fb136c25a7e4bae18852f429.tar.gz llvm-993d8ac5cb935b78fb136c25a7e4bae18852f429.tar.bz2 |
[libc] Add implementations of nearbyint[f|l].
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.]
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D94112
Diffstat (limited to 'clang/lib/Frontend')
0 files changed, 0 insertions, 0 deletions