Cygwin: sched_setscheduler: allow changes of the priority
[newlib-cygwin.git] / winsup / cygwin / math / fmaxl.c
blob4ac6e21944bd5d2e53767a2b2737626e25f3966d
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6 #include <math.h>
8 long double
9 fmaxl (long double _x, long double _y)
11 return (__builtin_isgreaterequal (_x, _y) || __builtin_isnan (_y))
12 ? _x : _y;