Fix https://github.com/rust-lang/rust/pull/18827 related issues.
Merge pull request #25 from mtsr/rfc369-numerics-fixes

Fix https://github.com/rust-lang/rust/pull/18827 related issues.