[all-commits] [llvm/llvm-project] ef0ea8: [libc][NFC] Adjust sinf and cosf around -infinity ...
Siva Chandra via All-commits
all-commits at lists.llvm.org
Tue Jun 9 16:30:51 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ef0ea8717a9b513d2bf67c2b04b876700593fa07
https://github.com/llvm/llvm-project/commit/ef0ea8717a9b513d2bf67c2b04b876700593fa07
Author: Siva Chandra Reddy <sivachandra at google.com>
Date: 2020-06-09 (Tue, 09 Jun 2020)
Changed paths:
M libc/test/src/math/cosf_test.cpp
M libc/test/src/math/sinf_test.cpp
Log Message:
-----------
[libc][NFC] Adjust sinf and cosf around -infinity inputs.
The current tests verify if the result of -infinity is a quiet NaN with
sign bit set. But, that need not be the case on all platforms. So, just
checking that the result is a quiet NaN and ignoring the sign bit is
good enough.
More information about the All-commits
mailing list