good reasons not to use D?
    Ola Fosheim Grøstad via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sun Nov  1 07:49:48 PST 2015
    
    
  
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.
    
    
More information about the Digitalmars-d-learn
mailing list