Generalised floating point addition: Difference between revisions

m (→‎any base: corrected a misspelling. -- ~~~~)
Line 912:
'''output''' is identical to the previous version.
<br><br>
=={{header|Ruby}}==
Actually this is just Ruby - its to be built in:
<lang ruby>p 12345679e63 * 81 + 1e63
p 12345679012345679e54 * 81 + 1e54
p 12345679012345679012345679e45 * 81 + 1e45
p 12345679012345679012345679012345679e36 * 81 + 1e3</lang>
All result in 1.0e+72.
1,149

edits