This reduces code duplication and allows to make mp_classify_fp_as_int static, which reduces code size.