C Tutorial/math.h/fmax — различия между версиями

Материал из C\C++ эксперт
Перейти к: навигация, поиск
м (1 версия: Импорт контента...)
 
(нет различий)

Версия 14:21, 25 мая 2010

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