good reasons not to use D?

tcak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Oct 31 08:41:58 PDT 2015


On Saturday, 31 October 2015 at 14:37:23 UTC, rumbu wrote:
> On Friday, 30 October 2015 at 10:35:03 UTC, Laeeth Isharc wrote:
>> I'm writing a talk for codemesh on the use of D in finance.
>>
>> Any other thoughts?
>
> For finance stuff - missing a floating point decimal data type. 
> Things like 1.1 + 2.2 = 3.3000000000000003

I always thought that this type of arithmetic operations can be 
solved with BigInt, but never tried it. Since the issue is 
related to IEEE standard, a simulated (not supported by hardware 
directly) data type might be required.


More information about the Digitalmars-d-learn mailing list