Add more info about the corruption
This commit is contained in:
parent
066de3bc28
commit
2c9d63ce29
|
@ -26,4 +26,7 @@ when isMainModule:
|
|||
echo "a * a: " & $z # How did the result value change?
|
||||
echo "a * a type: " & $z.type.name
|
||||
|
||||
# Compile without release: memory corruption
|
||||
# In release: no corruption
|
||||
# Comment out the "naiveMul" in mul_impl: no corruption
|
||||
echo "Is memory corrupted: " & $(z != toMpUint(100'u32))
|
||||
|
|
Loading…
Reference in New Issue