fma: returns the rounding value of a * b + c : fma « math.h « C / ANSI-C






fma: returns the rounding value of a * b + c


    

//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);  
 
  

  #include <math.h>
  #include <stdio.h>

  int main(void)
  {

     printf("%f", fmal (10.2,12,9));
 
  }

         
        /*
        -0.000000
        */ 

           
       








Related examples in the same category