round result of (highest as f64).log(2.0)
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Wed, 13 Mar 2019 02:55:30 +0000 (15:55 +1300)
committerXimin Luo <infinity0@debian.org>
Sun, 19 May 2019 03:22:22 +0000 (04:22 +0100)
commitc9349f266c3cc4cbf3e1390000d28e84c57825bb
tree3e53fa77c3c62c04968d6271f009ced74bd728b4
parent428163b13754d923e095d14a8d3eae79fd0f5cdb
round result of (highest as f64).log(2.0)

Even though (1024f64).log(2.0) has an exact, representable, value, with rustc 1.32 on i386 it comes out as +9.999999999999999985 with optimization enabled. And the rustc doesn't like having two defintions for U1024 etc.

Gbp-Pq: Name 1001_typenum_pr_115.patch
vendor/typenum/build/main.rs