From b805ea17e55a0da7424d97eb9fb252917e51445e Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 4 Oct 2004 12:00:04 +0000 Subject: [PATCH] * trans-intrinsic.c: Fix a comment typo. From-SVN: r88481 --- gcc/fortran/ChangeLog | 4 ++++ gcc/fortran/trans-intrinsic.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 22cc1df9035..7cc833bcf99 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2004-10-04 Kazu Hirata + + * trans-intrinsic.c: Fix a comment typo. + 2004-10-03 Tobias Schlueter * simplify.c (range_check): Remove blank line at beginning of function. diff --git a/gcc/fortran/trans-intrinsic.c b/gcc/fortran/trans-intrinsic.c index 5aa2b351048..3b4606a6234 100644 --- a/gcc/fortran/trans-intrinsic.c +++ b/gcc/fortran/trans-intrinsic.c @@ -2451,7 +2451,7 @@ gfc_conv_intrinsic_spacing (gfc_se * se, gfc_expr * expr) /* Generate code for RRSPACING (X) intrinsic function. RRSPACING (X) = |X * POW (2, -e)| * POW (2, p) = |FRACTION (X)| * POW (2, p) - So the result's exponenet is p. And if X is normalized, X's fraction part + So the result's exponent is p. And if X is normalized, X's fraction part is the result's fraction. If X is denormalized, to get the X's fraction we shift X's fraction part to left until the first '1' is removed. -- 2.30.2