diff options
author | Noel Tiernan <tiernolan@gmail.com> | 2014-01-19 13:32:10 +0000 |
---|---|---|
committer | Noel Tiernan <tiernolan@gmail.com> | 2014-01-19 13:55:08 +0000 |
commit | e6c6bc92f468b3eeffe1bd5ebc7b6c617bd31714 (patch) | |
tree | 4e4b13516d951388b6736237c633ffb2017297b9 /src/test/README | |
parent | dd7c1cf534b760e9da55c225d6bb05f2bdb8e2e7 (diff) |
Adds additional zero checks for setCompact
These encoded values should all decode to zero
Positive Numbers
0x01003456 (1 byte 0x00)
0x02000056 (2 bytes 0x0000)
0x03000000 (3 bytes 0x000000)
0x04000000 (4 bytes 0x000000_00)
Negative Numbers
0x00923456 -(0 bytes, so zero)
0x01803456 -(1 byte 0x00)
0x02800056 -(2 bytes 0x0000)
0x03800000 -(3 bytes 0x000000)
0x04800000 -(4 bytes 0x000000_00)
Diffstat (limited to 'src/test/README')
0 files changed, 0 insertions, 0 deletions