summaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2004-03-06 03:19:40 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2004-03-06 03:19:40 +0000
commitf2f4e976916cff0904817e984c0a930b9c51a906 (patch)
tree1d5ae0f6a16bd7ebc22d0655f06279976e8ae99d /gcc/builtins.c
parent2b3493c8bb8ee8d00e93c55d9cad5b322aa9f76e (diff)
downloadgcc-f2f4e976916cff0904817e984c0a930b9c51a906.tar.gz
* builtins.c: Consistently use logN not log* in comments.
From-SVN: r79009
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 291e605fcb9..c9aa2ab2d6b 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -6172,8 +6172,8 @@ real_dconstp (tree expr, const REAL_VALUE_TYPE *value)
}
/* A subroutine of fold_builtin to fold the various logarithmic
- functions. EXP is the CALL_EXPR of a call to a builtin log*
- function. VALUE is the base of the log* function. */
+ functions. EXP is the CALL_EXPR of a call to a builtin logN
+ function. VALUE is the base of the logN function. */
static tree
fold_builtin_logarithm (tree exp, const REAL_VALUE_TYPE *value)
@@ -6187,7 +6187,7 @@ fold_builtin_logarithm (tree exp, const REAL_VALUE_TYPE *value)
tree arg = TREE_VALUE (arglist);
const enum built_in_function fcode = builtin_mathfn_code (arg);
- /* Optimize log*(1.0) = 0.0. */
+ /* Optimize logN(1.0) = 0.0. */
if (real_onep (arg))
return build_real (type, dconst0);
@@ -6218,7 +6218,7 @@ fold_builtin_logarithm (tree exp, const REAL_VALUE_TYPE *value)
|| fcode == BUILT_IN_EXP10L))))
return convert (type, TREE_VALUE (TREE_OPERAND (arg, 1)));
- /* Optimize log*(func()) for various exponential functions. We
+ /* Optimize logN(func()) for various exponential functions. We
want to determine the value "x" and the power "exponent" in
order to transform logN(x**exponent) into exponent*logN(x). */
if (flag_unsafe_math_optimizations)