ciabatta/code/math/fmax.c

13 lines
146 B
C

double fmax(double x, double y) {
if(x>y) return x;
return y;
}
float fmaxf(float x, float y) {
if(x>y) return x;
return y;
}