Fixes #910 - too aggressive precision optimizations.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Mon, 13 Mar 2017 21:22:22 +0000 (22:22 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 15 Mar 2017 10:07:40 +0000 (11:07 +0100)
commita40e76ddb62e3bf5ebbc25c78959d50209f7a611
tree1f97c7664e26e734afb763183756269a416309bb
parent6130c34560e0ab6596a4bce86a800eabef2d1e71
Fixes #910 - too aggressive precision optimizations.

Why:

* Precision rounding should only apply when a value is positively
identified as a numeric or unit value.
History.md
lib/optimizer/level-1/optimize.js
test/integration-test.js
test/optimizer/level-1/optimize-test.js