makes test green again
This commit is contained in:
parent
755c4428fe
commit
18ca1788f0
1 changed files with 3 additions and 3 deletions
|
|
@ -18,9 +18,9 @@ proc get_values(): (seq[int8], seq[int16], seq[int32]) =
|
||||||
let i32 = -(1'i64 shl 33) + offset
|
let i32 = -(1'i64 shl 33) + offset
|
||||||
|
|
||||||
# higher bits are masked. these should be exactly equal to offset.
|
# higher bits are masked. these should be exactly equal to offset.
|
||||||
result[0].add cast[int8 ](uint8 cast[uint64](i8 ))
|
result[0].add cast[int8](cast[uint64](i8))
|
||||||
result[1].add cast[int16](uint16 cast[uint64](i16))
|
result[1].add cast[int16](cast[uint64](i16))
|
||||||
result[2].add cast[int32](uint32 cast[uint64](i32))
|
result[2].add cast[int32](cast[uint64](i32))
|
||||||
|
|
||||||
|
|
||||||
# these values this computed by VM
|
# these values this computed by VM
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue