This is a patch to make cube output work like double precision outputwith regard to the extra_float_digits setting.