remove unnecessary sys import
This commit is contained in:
parent
e30dd86c61
commit
f38e2701d8
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user