commit | ec83aa811812878aceda5f5630fc60ca607cfad4 | [log] [tgz] |
---|---|---|
author | Siva Chandra Reddy <sivachandra@google.com> | Mon Aug 17 16:24:45 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 29 11:45:53 2020 -0700 |
tree | 52eaed7a30eba2a7db6e7f06471d116ae9f24d73 | |
parent | 8577ec9312c30c9c84aabf277935c030453239a4 [diff] |
[libc] Add implementations of remquo[f|l] and remainder[f|l]. The implementation is not fully standards compliant in the sense that errno is not set on error, and floating point exceptions are not raised. Subnormal range and normal range are tested separately in the tests. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D86666 GitOrigin-RevId: 8514ecb02d4330bc075b9c8fef77c87810088d2f