ref: 855cf4326f5a07d7142c2d8918f5fa856d912b85 dir: /sys/src/ape/lib/ap/math/fmin.c/
#include <math.h> double fmin(double a, double b) { if(isNaN(a)) return b; if(isNaN(b)) return a; return a < b ? a : b; }