On Thu, Apr 7, 2022 at 2:47 PM Marc-Andre Lemburg <m...@egenix.com> wrote:
> In high finance, I've never seen decimals being used, only floats. > Excel is omnipresent, sets the standards and uses IEEE 754 floats > as well (plus some black magic which sometimes helps, but often > makes things worse): > In forex, instantaneous exchange rates are defined as a specific number of decimal digits in a currencyA/currencyB exchange rate (on a particular market). This is about US$6.6 trillion/day governed by these rules... FAR more than the combined size of ALL securities markets. It was something like 2007 when the NYSE moved from prices in 1/32 penny to a fixed-length decimal representation. -- Keeping medicines from the bloodstreams of the sick; food from the bellies of the hungry; books from the hands of the uneducated; technology from the underdeveloped; and putting advocates of freedom in prisons. Intellectual property is to the 21st century what the slave trade was to the 16th.
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/KD7YAXR4CU5SRD3Q67PIG7S6VMFWVMOV/ Code of Conduct: http://python.org/psf/codeofconduct/