Money type

Russel Winder russel at winder.org.uk
Thu Jan 2 17:18:04 UTC 2020


On Thu, 2020-01-02 at 14:34 +0000, Ola Fosheim Grøstad via Digitalmars-
d wrote:
> 
[…]
> If you understand the floating point hardware specification then 
> there are no issues with floating point.
> 

I am not an expert in this, but I have seen lots of rants and arguments
on this over the years.

As I understand it the core problem is needing base 10 numbers not base
2 ones – converting between them causes problems – and using hardware
floating point does not have enough accuracy for compliance with
requirements of FCA for financial calculations.

There are various people on the ACCU general mailing list and the LJC
emailing list who know much more about this than I do as they work on
these things on a daily basis. I could ask there for pointers as to why
money types are such an obsession. 

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20200102/ef1e9493/attachment.sig>


More information about the Digitalmars-d mailing list