mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-06 00:59:37 +01:00
Implement normalization and simplify power table
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user