summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-05-14 13:56:20 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-05-14 13:56:20 +0000
commit87ae6bf80b4d4fd5f44cc3ee3658de6891cca5bc (patch)
treeba3d48070b0244c31fa0e9c7b6f5116b015488f3 /llvm/lib/Support/APFloat.cpp
parentfe4f6d53c6e8a26d88a1d21a9e7af90963bdeaf0 (diff)
downloadbcm5719-llvm-87ae6bf80b4d4fd5f44cc3ee3658de6891cca5bc.tar.gz
bcm5719-llvm-87ae6bf80b4d4fd5f44cc3ee3658de6891cca5bc.zip
[libc++] [test] Use std::nextafter() instead of std::nexttoward()
Use std::nextafter() instead of std::nexttoward() in midpoint tests. In the context of this test, this should not cause any difference. Since nexttowardl() is not implemented on NetBSD 8, the latter function combined with 'long double' type caused test failure. nextafterl() does not have this problem. Differential Revision: https://reviews.llvm.org/D61748 llvm-svn: 360673
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud