Add fmix / fmax functions

Required for LinuxCNC on 3.14+

Signed-off-by: Alec Ari <neotheuser@ymail.com>