Implement max function based on int and float32 reflection