Do I love not only this but all those other mfc-explanations? Yes I Do!
On 7-1-2015 21:07, Mike Cowlishaw wrote:
Some years ago I noticed that the Power operator ** won't always give
exactly the same result as repeated multiplication, as described in
10.2.1. For calculating the power, the
Some years ago I noticed that the Power operator ** won't always give
exactly the same result as repeated multiplication, as described in 10.2.1.
For calculating the power, the number is multiplied by itself for the
number of times expressed by the power.
An example is:
rexx -e N=1.01; P=8; R=1;
I thought that we already beat this one to death.
If you preface your expression with NUMERIC DIGITS 20 you will see that the
answers are the same. After each math operation rounding is performed. So in
repeated multiplication rounding is performed P times, while in the case of the
power