Generalised floating point multiplication: Difference between revisions

Content added Content deleted
(→‎{{header|ALGOL 68}}: misc comment changes.)
m (Change sequence to be from -15 to 13)
Line 13: Line 13:


{|class="wikitable" style="text-align: center; margin: 1em auto 1em auto;"
{|class="wikitable" style="text-align: center; margin: 1em auto 1em auto;"
|+ Calculate the terms for -8 to 20 in this sequence of calculations
|+ Calculate the terms for -15 to 13 in this sequence of calculations
|-
|-
! Number !! Term calculation !! Result
! Number !! Term calculation !! Result
|-
|-
| -8 || 111111111e63**2 x 81 + 2e135 - 1e126 || 1e144
| -15 || 111111111e63**2 x 81 + 2e135 - 1e126 || 1e144
|-
|-
| -7 || 111111111111111111e54**2 x 81 + 2e126 - 1e108 || 1e144
| -14 || 111111111111111111e54**2 x 81 + 2e126 - 1e108 || 1e144
|-
|-
| -6 || 111111111111111111111111111e45**2 x 81 + 2e117 - 1e90 || 1e144
| -13 || 111111111111111111111111111e45**2 x 81 + 2e117 - 1e90 || 1e144
|-
|-
| -5 || 111111111111111111111111111111111111e36**2 x 81 + 2e108 - 1e72 || 1e144
| -12 || 111111111111111111111111111111111111e36**2 x 81 + 2e108 - 1e72 || 1e144
|-
|-
| etc. || The last calculation will be with floating point numbers of more then 500 digits || 1e144
| etc. || The last calculation will be with floating point numbers of more then 500 digits || 1e144