Generalised floating point multiplication: Difference between revisions
Content added Content deleted
(→[[Generalised_floating_point_multiplication#ALGOL 68]]: add multiplication as a bonus) |
m (converted list to a table, removed Kudos.) |
||
Line 10: | Line 10: | ||
'''Test case:''' |
'''Test case:''' |
||
Use the Template to define [[wp:Arbitrary-precision arithmetic|Arbitrary precision multiplication]] on numbers stored in Binary Coded Decimal. |
Use the Template to define [[wp:Arbitrary-precision arithmetic|Arbitrary precision multiplication]] on numbers stored in Binary Coded Decimal. |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{|class="wikitable" style="text-align: center; margin: 1em auto 1em auto;" |
|||
⚫ | |||
|+ Calculate the terms for -8 to 20 in this sequence of calculations |
|||
|- |
|||
! Number !! Term calculation !! Result |
|||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|} |
|||
⚫ | |||
⚫ | |||
=={{header|ALGOL 68}}== |
=={{header|ALGOL 68}}== |
||
{{works with|ALGOL 68|Revision 1 - one minor extension to language used - PRAGMA READ, similar to C's #include directive.}} |
{{works with|ALGOL 68|Revision 1 - one minor extension to language used - PRAGMA READ, similar to C's #include directive.}} |