名前
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
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