From f3abd9a56fc9ed03d177a135442d88c7a7f4bf07 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Mon, 10 Dec 2018 14:54:13 +0000 Subject: [PATCH] The function should be called exp10 and now pow10 --- src/pow10.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pow10.h b/src/pow10.h index 02a9b33b26..3414072a82 100644 --- a/src/pow10.h +++ b/src/pow10.h @@ -38,7 +38,7 @@ * * @param x The input value. */ -__attribute__((always_inline, const)) INLINE static double pow10( +__attribute__((always_inline, const)) INLINE static double exp10( const double x) { return exp(x * M_LN10); @@ -52,7 +52,7 @@ __attribute__((always_inline, const)) INLINE static double pow10( * * @param x The input value. */ -__attribute__((always_inline, const)) INLINE static float pow10f( +__attribute__((always_inline, const)) INLINE static float exp10f( const float x) { return expf(x * (float)M_LN10); -- GitLab