Re:Searching for fast complex numbers in C99 and C++
by kdkkfcg on Wednesday July 19, 2017 @11:35AM
(#14805024)
So, if you read the article you will learn the float handling is done in software.
[ Parent
| on HN ]
Re:Searching for fast complex numbers in C99 and C++
by flavio81 on Wednesday July 19, 2017 @11:45AM
(#14805120)
Yes... but note that the final machine language code does use the processor opcodes that handle floats: MULSS, MOVSS
http://www.felixcloutier.com/x86/MULSS.html http://www.felixcloutier.com/x86/MOVSS.html
So the final float multiplication is done by the hardware. What the software does, is to (a) handle the complex number and convert it to floats, and probably (b) handle the double precision using single precision x86 opcodes.