On Saturday, 31 October 2015 at 23:16:04 UTC, Ali Çehreli wrote:
Although still years away from production, the Mill CPU will have decimal floating point:

  http://millcomputing.com/wiki/Instruction_Set


Mill is a fun project, and there are also base 10 floating point FPGA coprocessors available, but probably not widely deployed.

I've personally settled for storing in cents instead, as integers have accurate precision (storing "30.0" instead of "0.3"). The problem is then reduced to writing a wrapper for floats with a dedicated string_to_float conversion that is loss free.

Reply via email to