C/math.h/fmin

Материал из C\C++ эксперт
Перейти к: навигация, поиск

fmin: returns the lesser of a and b

<source lang="cpp">

//Declaration: float fminf(float a, float b);

              double fmin(double a, double b); 
              long double fminl(long double a, long double b);  

   
 
 #include <math.h>
 #include <stdio.h>
 int main(void)
 {
    printf("%l", fminl (10,12));
 }


      </source>