std.math performance (SSE vs. real)
Russel Winder via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jun 29 11:13:43 PDT 2014
On Sun, 2014-06-29 at 07:59 -0700, Andrei Alexandrescu via Digitalmars-d
wrote:
[…]
> A friend who works at a hedge fund (after making the rounds to the NYC
> large financial companies) told me that's a myth. Any nontrivial
> calculation involving money (interest, fixed income, derivatives, ...)
> needs floating point. He never needed more than double.
Very definitely so. Fixed point or integer arithmetic for simple
"household" finance fair enough, but for "finance house" calculations
you generally need 22+ significant denary digits to meet with compliance
requirements.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
More information about the Digitalmars-d
mailing list