C Tutorial/math.h/fmax

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

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.


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