9560b6b1
b69f695a
1
2 3 4 5 6 7 8 9 10
#include <math.h> double fdim(double x, double y) { if (isnan(x)) return x; if (isnan(y)) return y; return x > y ? x - y : 0; }