1 /* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved.
3 * Permission to use, copy, modify, and distribute this software
4 * is freely granted, provided that this notice is preserved.
10 float fmaxf(float x
, float y
)
17 if (__fpclassifyf(x
) == FP_NAN
)
19 if (__fpclassifyf(y
) == FP_NAN
)
25 #ifdef _DOUBLE_IS_32BITS
28 double fmax(double x
, double y
)
35 return (double) fmaxf((float) x
, (float) y
);
38 #endif /* defined(_DOUBLE_IS_32BITS) */