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

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

double
fdim (double x, double y)
{
  return  (isgreater(x, y) ? (x - y) : 0.0);
}