Anonymous user
Pathological floating point problems: Difference between revisions
Pathological floating point problems (view source)
Revision as of 23:49, 17 November 2021
, 2 years ago→Task 2: Chaotic Bank Society
Line 1,279:
<lang Ruby>require "big"
e = 106246577894593683.to_big_d.div(39085931702241241.to_big_d
balance = e - 1
|