aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2020-11-18 21:30:47 -0800
committerSiva Chandra Reddy <sivachandra@google.com>2020-12-02 11:48:49 -0800
commit19c3894f9436ef68f33f80ee1fd589166267b5a1 (patch)
tree47a95ea27e4b17d38eda57a7c75dfe777e7bcf0d /clang/lib/Basic/Module.cpp
parentbc044a88ee3c16e4164740732a7adc91a29b24f5 (diff)
downloadllvm-19c3894f9436ef68f33f80ee1fd589166267b5a1.zip
llvm-19c3894f9436ef68f33f80ee1fd589166267b5a1.tar.gz
llvm-19c3894f9436ef68f33f80ee1fd589166267b5a1.tar.bz2
[libc] Fix couple of corner cases in remquo.
These two cases are fixed: 1. If numerator is not zero and denominator is infinity, then the numerator is returned as the remainder. 2. If numerator and denominator are equal in magnitude, then quotient with the right sign is returned. The differet tests of remquo, remquof and remquol have been unified into a single file to avoid duplication. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D92353
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions