[libc][Obvious] Remove constexpr fomr exact_mult in double_double.h
authorTue Ly <lntue@google.com>
Sun, 8 Jan 2023 22:52:46 +0000 (17:52 -0500)
committerTue Ly <lntue@google.com>
Sun, 8 Jan 2023 22:52:46 +0000 (17:52 -0500)
libc/src/__support/FPUtil/double_double.h

index 1c37f84..35e2bbc 100644 (file)
@@ -40,7 +40,7 @@ constexpr inline DoubleDouble add(DoubleDouble a, double b) {
 
 // TODO(lntue): add a correct multiplication when FMA instructions are not
 // available.
-constexpr inline DoubleDouble exact_mult(double a, double b) {
+inline DoubleDouble exact_mult(double a, double b) {
   DoubleDouble r{0.0, 0.0};
   r.hi = a * b;
   r.lo = fputil::multiply_add(a, b, -r.hi);