about summary refs log tree commit diff
path: root/math/e_exp2_template.c
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2018-04-27 09:56:48 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2018-04-27 17:13:10 -0300
commit33927914420ad1aec86551c8e5cf085d8ee80ebb (patch)
treedd3d94da8274a300f7dd618dd81827accc6684b3 /math/e_exp2_template.c
parent06135c33b710c64334ff10d2fcc4780154b65776 (diff)
downloadglibc-33927914420ad1aec86551c8e5cf085d8ee80ebb.tar.gz
glibc-33927914420ad1aec86551c8e5cf085d8ee80ebb.tar.xz
glibc-33927914420ad1aec86551c8e5cf085d8ee80ebb.zip
Replace M_SUF (M_LN2) with M_MLIT (M_LN2)
According to math-type-macros.h, M_SUF should be used to paste the
suffix used by functions, while M_MLIT is used with macro constants.

	* math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).

Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'math/e_exp2_template.c')
-rw-r--r--math/e_exp2_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/e_exp2_template.c b/math/e_exp2_template.c
index 5b82588c2a..94a21054c2 100644
--- a/math/e_exp2_template.c
+++ b/math/e_exp2_template.c
@@ -41,7 +41,7 @@ M_DECL_FUNC (__ieee754_exp2) (FLOAT x)
 	  if (M_FABS (fractx) < M_EPSILON / 4)
 	    result = M_SCALBN (1 + fractx, intx);
 	  else
-	    result = M_SCALBN (M_EXP (M_SUF (M_LN2) * fractx), intx);
+	    result = M_SCALBN (M_EXP (M_MLIT (M_LN2) * fractx), intx);
 	  math_check_force_underflow_nonneg (result);
 	  return result;
 	}