ref: ee695eff4329234e20abb68ff3100d3b15929418
dir: /libmath/fdim.c/
#include "lib9.h" #include "mathi.h" double fdim(double x, double y) { if(x>y) return x-y; else return 0; } double fmax(double x, double y) { if(x>y) return x; else return y; } double fmin(double x, double y) { if(x<y) return x; else return y; }