1 2 3 4 5 6 7
#include <math.h> double fmax (double _x, double _y) { return ( isgreaterequal (_x, _y)|| __isnan (_y) ? _x : _y ); }