Is there any scenario where function fma in libc can be used?
问题 I come across this page and find there is an odd floating multiply add function -- fma and fmaf . It says that the result is something like: (x * y) + z #fma(x,y,z) And the value is infinite precision and round once to the result format . However, AFAICT I've never seen such a ternary operation before. So I'm wondering what's the cumstom usage for this func. 回答1: The important aspect of the fused-multiply-add instruction is the (virtually) infinite precision of the intermediate result. This