C Tutorial/math.h/fma

Материал из C\C++ эксперт
Версия от 10:32, 25 мая 2010; Admin (обсуждение | вклад) (1 версия: Импорт контента...)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

fma

Item Value Header file math.h Declaration float fmaf(float a, float b, float c);double fma(double a, double b, double c);long double fmal(long double a, long double b, long double c); Return returns the rounding value of a * b + c.


#include <math.h>
  #include <stdio.h>
  int main(void)
  {
     printf("%f", fmal (10.2,12,9));
 
  }