[libc++] std::abs should not return double
authorZoe Carver <z.zoelec2@gmail.com>
Tue, 20 Aug 2019 15:43:25 +0000 (15:43 +0000)
committerZoe Carver <z.zoelec2@gmail.com>
Tue, 20 Aug 2019 15:43:25 +0000 (15:43 +0000)
commit6585f018ada85c53efeec28fb6b1d9c978c209f7
treecf6e4790d3d16262e33749cf264a58636a90b184
parenta47ca1ea6d32d2d99d080ec850670c1de340c525
[libc++] std::abs should not return double

Implement LWG Issue 2735 by adding std::abs
tests for several types and checking their
return value. NFC.

llvm-svn: 369394
libcxx/test/std/numerics/c.math/abs.fail.cpp [new file with mode: 0644]
libcxx/test/std/numerics/c.math/abs.pass.cpp [new file with mode: 0644]
libcxx/www/cxx1z_status.html