News for hackers. Stuff that matters.
Re:Bitfinex just spent $23.7M in fees to make a single Ether... by xvilka on Monday September 27, 2021 @11:40PM (#28679060)
This is why in "classic" fintech they used so-called "decimal" fixed-point numbers for decades. To not use COBOL as an example let's check something more modern, e.g. Rust[1].

[1] https://github.com/paupino/rust-decimal

Re:Bitfinex just spent $23.7M in fees to make a single Ether... by MichaelBurge on Tuesday September 28, 2021 @03:02AM (#28680068)
Ethereum uses integers to store transaction amounts internally. Integers are fixed-point already, so that library is completely irrelevant.
Re:Bitfinex just spent $23.7M in fees to make a single Ether... by xvilka on Tuesday September 28, 2021 @04:04AM (#28680367)
I didn't mean Ethereum itself, apparently the bug is in whatever code written at the higher level, inside the exchange or whatever service they use.