dec64 decimal floating point type

Francesco Cattoglio francesco.cattoglio at gmail.com
Sun Apr 13 08:29:18 PDT 2014


On Saturday, 12 April 2014 at 21:48:15 UTC, Alix Pexton wrote:
> http://dec64.org/
>
> I recently discovered this while watching a presentation by 
> Doug Crockford on YouTube.
>
> I know that Dlang is not in the category of languages that this 
> new numeric representation is aimed at, but Dlang might well be 
> used to implement a VM or compiler for one that is.
>
> I think it is ripe for implementation along the same lines as 
> half floats.
>
> The reference implementation is on github (linked from the 
> above) and is marked as public domain but porting the assembler 
> (or rather the macros) non-trivial with my skill-set.
>
> Anyone else convinced or opposed?
>
> Anyone with more assembler-foo willing to lend a hand to the 
> porting effort?
>
> A...

I don't quite see the point in this, when there is already a 
standard for floating point decimals 
http://en.wikipedia.org/wiki/Decimal64_floating-point_format
I really should take a deeper look at this, it might be more 
interesting that I am expecting.


More information about the Digitalmars-d mailing list