cris: remove call to HIDDEN_JUMPTARGET
[uclibc-ng.git] / libm / s_fmin.c
blob674d9a56bd0cf35d4c94a9335f96c0978f19d3fa
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.
5 */
7 #include "math.h"
8 #include "math_private.h"
10 double fmin(double x, double y)
12 if (__fpclassify(x) == FP_NAN)
13 return x;
14 if (__fpclassify(y) == FP_NAN)
15 return y;
17 return x < y ? x : y;
19 libm_hidden_def(fmin)