C Tutorial/math.h/fmax

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

fmax

Item Value Header file math.h Declaration float fmaxf(float a, float b);double fmax(double a, double b);long double fmaxl(long double a, long double b); Return returns the greater of a and b.


<source lang="cpp">#include <math.h>

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

 }</source>