Report --numbers gfixed in describe_options
This commit is contained in:
parent
f534c983cd
commit
1bc0aaf03c
@ -554,6 +554,10 @@ class BaseSTVCounter:
|
|||||||
result.append('--numbers rational')
|
result.append('--numbers rational')
|
||||||
elif pyRCV2.numbers._numclass is pyRCV2.numbers.Native:
|
elif pyRCV2.numbers._numclass is pyRCV2.numbers.Native:
|
||||||
result.append('--numbers native')
|
result.append('--numbers native')
|
||||||
|
elif pyRCV2.numbers._numclass is pyRCV2.numbers.FixedGuarded:
|
||||||
|
result.append('--numbers gfixed')
|
||||||
|
if pyRCV2.numbers.get_dps() != 5:
|
||||||
|
result.append('--decimals ' + str(pyRCV2.numbers.get_dps()))
|
||||||
else:
|
else:
|
||||||
# Fixed
|
# Fixed
|
||||||
if pyRCV2.numbers.get_dps() != 5:
|
if pyRCV2.numbers.get_dps() != 5:
|
||||||
|
Reference in New Issue
Block a user