add rounding mode default HALF_UP
test inverted pair