News for hackers. Stuff that matters.
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.
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.

Re:Searching for fast complex numbers in C99 and C++ by tgb on Wednesday July 19, 2017 @01:43PM (#14806222)
Yes, I read the article and it inspired my question.