[PR 82808] Use proper result types for arithmetic jump functions