Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fmaxf.c « math « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 079a7e746fb84e5d721e8d1e069acea73a599fb2 (plain)
1
2
3
4
5
6
7
#include <math.h>

float
fmaxf (float _x, float _y)
{
  return (( isgreaterequal(_x, _y) || __isnanf (_y)) ?  _x : _y );
}