Fixed maximum/minimum/etc. for complex-valued funs