one more fix for negative numbers

This time I pulled all the test case data directly from the datasheet.