Fix damos/kgs/GetPolynom
Change-Id: Ib076c17e6f7f5c9b4e372d38b77319aeefac7e12
This commit is contained in:
parent
e2ec08ef7c
commit
eeea4de444
@ -231,6 +231,8 @@ function s:GetPolynom(umrechnung)
|
||||
let name = element['Name']
|
||||
if name == 'Mas'
|
||||
let umr['Mas'] = element['Elements'][0]
|
||||
elseif name == 'AFm'
|
||||
" ignore
|
||||
else
|
||||
let nr = substitute(name, 'P\(\d\)', '\1', '')
|
||||
if nr != name
|
||||
@ -301,15 +303,15 @@ function s:GetOspTestValues()
|
||||
let hex = ToHex(int, 16)
|
||||
let phys = s:GetOspPolyPhysValue(int, p)
|
||||
echo s:formatValues(int, hex, phys, Mas)
|
||||
let int = '2147483647L'
|
||||
let int = '2147483647'
|
||||
let hex = ToHex(int, 32)
|
||||
let phys = s:GetOspPolyPhysValue(int, p)
|
||||
echo s:formatValues(int, hex, phys, Mas)
|
||||
let int = '-2147483648L'
|
||||
let int = '-2147483648'
|
||||
let hex = ToHex(int, 32)
|
||||
let phys = s:GetOspPolyPhysValue(int, p)
|
||||
echo s:formatValues(int, hex, phys, Mas)
|
||||
let int = '4294967295L'
|
||||
let int = '4294967295'
|
||||
let hex = '0xffffffff'
|
||||
let phys = s:GetOspPolyPhysValue(int, p)
|
||||
echo s:formatValues(int, hex, phys, Mas)
|
||||
|
Loading…
x
Reference in New Issue
Block a user