]> git.proxmox.com Git - rustc.git/blobdiff - src/etc/dec2flt_table.py
New upstream version 1.43.0+dfsg1
[rustc.git] / src / etc / dec2flt_table.py
index 85395d2ecdfc75b8e5593a02bda842d413e1b3c5..4979882ffeaffecebfaf2a856b7d50191d2a4483 100755 (executable)
@@ -14,7 +14,6 @@ is used because (u64, i16) has a ton of padding which would make the table
 even larger, and it's already uncomfortably large (6 KiB).
 """
 from __future__ import print_function
-import sys
 from math import ceil, log
 from fractions import Fraction
 from collections import namedtuple
@@ -82,6 +81,7 @@ def error(f, e, z):
     ulp_err = abs_err / Fraction(2) ** z.exp
     return float(ulp_err)
 
+
 HEADER = """
 //! Tables of approximations of powers of ten.
 //! DO NOT MODIFY: Generated by `src/etc/dec2flt_table.py`