Generalised floating point multiplication: Difference between revisions
Content deleted Content added
remove kudos and suggest Karatsuba algorithm as an option. |
m →{{header|ALGOL 68}}: trim comments |
||
Line 164:
####################################################################
# A program to test
####################################################################
Line 170:
PR READ "Template.Big_float.Multiplication.a68" PR
# include the basic axioms of the digits being used #
PR READ "Template.Balanced_ternary_float.Base.a68" PR
PR READ "Template.Big_float.Addition.a68" PR # [[rc:Generalised floating point addition]] #
PR READ "Template.Big_float.Subtraction.a68" PR # [[rc:Generalised floating point addition]] #
Line 213 ⟶ 212:
OD
)</lang>'''Output:'''
<pre>
a = +523.23914037494284407864655 +-0++0+.+-0++0+
b = -436.43600000000000000000000 --++-0--.--0+-00+++-0-+---0-+0++++0--0000+00-+-+--+0-0-00--++0-+00---+0+-+++0+-0----0++
|