Interval Arithmetic
Marco Leise via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Oct 1 14:13:20 PDT 2015
Am Thu, 01 Oct 2015 12:03:10 +0000
schrieb ponce <contact at gam3sfrommars.fr>:
> I have a RAII struct to save/restore the FP control word.
> It also handle the SSE control word which unfortunately exist.
>
> https://github.com/p0nce/dplug/blob/master/plugin/dplug/plugin/fpcontrol.d
Nice to have in Phobos. I assume you have to set the correct
control word depending on whether you perform math on the FPU
or via SSE (as is standard for x86_64)? And I assume further
that DMD always uses FPU math and other compilers provide
flags to switch between FPU and SSE?
--
Marco
More information about the Digitalmars-d-learn
mailing list