vectorize fmin/fmax
refactor
unroll support
apply bool opt to all
vectorize isnan