From c174fbfa059633b0bdbb0488d3b321dfd8d37ab7 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Fri, 17 Jan 2020 22:00:10 +0000
Subject: [PATCH] Update the documentation of approx_expf() to reflect the new
 limits in the unit test for AVX512

---
 src/approx_math.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/approx_math.h b/src/approx_math.h
index f347bab447..4015e6040b 100644
--- a/src/approx_math.h
+++ b/src/approx_math.h
@@ -50,10 +50,10 @@ __attribute__((always_inline, const)) INLINE static float approx_erfcf(
  * @brief Approximate version of expf(x) using a 4th order Taylor expansion
  *
  * The absolute error is smaller than 3 * 10^-6 for -0.2 < x < 0.2.
- * The absolute error is smaller than 2 * 10^-7 for -0.1 < x < 0.1.
+ * The absolute error is smaller than 3 * 10^-7 for -0.1 < x < 0.1.
 
  * The relative error is smaller than 1 * 10^-6 for -0.2 < x < 0.2.
- * The relative error is smaller than 4 * 10^-8 for -0.1 < x < 0.1.
+ * The relative error is smaller than 3 * 10^-7 for -0.1 < x < 0.1.
  *
  * @param x The number to take the exponential of.
  */
-- 
GitLab