Richard, If you agree, I'd like to update the conversion section of the poly_int manual to make the conversion to make it clearer that the to_constant() function can be used even with class types like offset_int besides scalars. Also, when testing this I also tried converting poly64_int into wide_int but that doesn't work. Is there a way to do that? Thanks Martin