News for hackers. Stuff that matters.
Re:Go 2, here we come by Symmetry on Thursday November 29, 2018 @01:19PM (#18562401)
Decimal floating point is actually an established thing and part of the current IEEE 754 spec. I'm not too familiar with COBOL but pretty much any modern language will offer it through a library or compiler extension. Recent IBM Power processors even have hardware support.

https://en.wikipedia.org/wiki/Decimal_floating_point

Re:Go 2, here we come by ekimekim on Thursday November 29, 2018 @01:49PM (#18562695)
Both you and the parent are correct. Decimal floating point is a long-established thing, but the vast majority of "Currency" or "Decimal" data types in modern languages are arbitrary or fixed precision (to some configurable precision) which uses integer math under the hood.