名前


fmax, fmaxf, fmaxl - 最大値を見つける

書式


#include <math.h>

double fmax(double x, double y); float fmaxf(float x, float y); long double fmaxl(long double x, long double y);

-std=c99 でコンパイルし、-lm でリンクする。

説明


x と y のうち大きい方の値を見つける。

準拠


C99

関連項目


fmin(3)

openSUSE Logo

コンテンツ