3 ms·
IEEE 754 actually does specify a decimal floating point format since 2008, but I don’t think it’s widely implemented.
by labcomputer 4y ago
IEEE 754 actually does specify a decimal floating point format since 2008, but I don’t think it’s widely implemented.
- dahfizz 4y agoDo you have any more info on this? The text of IEEE 754 costs $100 and I can't find any reference to it on Google
- jabl 4y agoIEEE 754-2008 combined the IEEE 754 with the IEEE 854 decimal float standard, so hence any post-2008 IEEE 754 version also contains decimal float (and IEEE 854 has been withdrawn). But like the parent poster noted, hardware tends to not actually implement the decimal float parts (I mean, IEEE 754 doesn't care about how calculations are made or how fast they are, so a software emulation is perfectly acceptable from the standard perspective). I think IBM POWER has one of the rare HW implementations of decimal floats.
- dahfizz 4y agoThank you! With the hint of IEEE 854 I was able to find https://en.wikipedia.org/wiki/Decimal64_floating-point_format https://en.wikipedia.org/wiki/Decimal64_floating-point_forma...
- kazinator 4y agoI'm amazed you didn't write: "The text of IEEE 754 costs $100.00000000000003 and I can't find any reference to it on Google." :)
- fnordpiglet 4y agoHe tried but he threw a NaN