主页
C 语言
C Math fma() 函数
demo_ref_math_fma
运行 ❯
×
更改方向
保存代码
更改主题
#include
#include
int main() { printf("%f\n", fma(0.5, 0.75, 1.0)); printf("%f\n", fma(3, 3, 1)); printf("%f\n", fma(2, 1.5, 1)); return 0; }
1.375000
10.000000
4.000000