Generalised floating point addition: Difference between revisions
Generalised floating point addition (view source)
Revision as of 00:17, 7 November 2013
, 10 years ago→{{header|Ruby}}: added comment.
(→{{header|Ruby}}: added comment.) |
|||
Line 913:
<br><br>
=={{header|Ruby}}==
No code, its built in (uses '*' for multiplication):
<lang ruby>p 12345679e63 * 81 + 1e63
p 12345679012345679e54 * 81 + 1e54
|