HomePhabricator

Adds additional zero checks for setCompact These encoded values should all…
e6c6bc92f468Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

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)

Details

Provenance
Noel Tiernan <tiernolan@gmail.com>Authored on Jan 19 2014, 13:32
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGdd7c1cf534b7: Merge pull request #3551
Branches
Unknown
Tags
Unknown

Event Timeline