pow_10
|| (max > 0 && ufvalue >= pow_10(max))) {
max10 = roundv(pow_10(max));
fracpart = roundv(pow_10(max) * (ufvalue - intpart));