Implement normalization and simplify power table

This commit is contained in:
Victor Zverovich committed 2018-05-27 08:04:30 -07:00
1 parent 6a5bb6e268
commit 2f257b7291
4 files changed
+90 -52

No files matched your search

+2 -2
View File
@@ -39,9 +39,9 @@ for i, exp in enumerate(range(min_exponent, max_exponent + 1, step)):
print('Significands:', end='')
for i, fp in enumerate(powers):
if i % 3 == 0:
if i % 4 == 0:
print(end='\n ')
print(' {:0<#16x}ull'.format(fp.f, ), end=',')
print(' {:0<#16x}'.format(fp.f, ), end=',')
print('\n\nExponents:', end='')
for i, fp in enumerate(powers):