diff options
| author | Chris Simpkins <git.simpkins@gmail.com> | 2020-02-07 23:49:40 -0500 |
|---|---|---|
| committer | Chris Simpkins <git.simpkins@gmail.com> | 2020-02-07 23:49:40 -0500 |
| commit | f38e2701d862379eca06475d196438038ca72564 (patch) | |
| tree | 9d95c8a8e9a5e00ccd01f4cf483da532a766a5b8 | |
| parent | e30dd86c61c8159b02940b888d876a57d8b07b7e (diff) | |
| download | rust-f38e2701d862379eca06475d196438038ca72564.tar.gz rust-f38e2701d862379eca06475d196438038ca72564.zip | |
remove unnecessary sys import
| -rwxr-xr-x | src/etc/dec2flt_table.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/dec2flt_table.py b/src/etc/dec2flt_table.py index 85395d2ecdf..4979882ffea 100755 --- a/src/etc/dec2flt_table.py +++ b/src/etc/dec2flt_table.py @@ -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` |
