From f2c10e1340a09d888afcd5c56aa394a20a3ed6d4 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 5 Mar 2014 17:09:51 +0000 Subject: Remove definition of std::fmaf from libc++. Fixes bug #18910. This function should come from the C standard library. As a drive-by fix, update the tests to remove a warning from -Wabsolute-value llvm-svn: 202990 --- libcxx/test/numerics/c.math/cmath.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcxx/test/numerics/c.math/cmath.pass.cpp') diff --git a/libcxx/test/numerics/c.math/cmath.pass.cpp b/libcxx/test/numerics/c.math/cmath.pass.cpp index 5db9fd14bbe..7c74d5b5b0b 100644 --- a/libcxx/test/numerics/c.math/cmath.pass.cpp +++ b/libcxx/test/numerics/c.math/cmath.pass.cpp @@ -190,8 +190,8 @@ void test_fabs() static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); - static_assert((std::is_same::value), ""); - static_assert((std::is_same::value), ""); + static_assert((std::is_same::value), ""); + static_assert((std::is_same::value), ""); assert(std::fabs(-1) == 1); } -- cgit v1.2.3