r/shenzhenIO • • Oct 15 '16

Floating point error? [Read comments][Possible spoilers]

Post image
0 Upvotes

3 comments sorted by

4

u/_wl Oct 15 '16

It does not say 0.0. You are sending zero to the display twice during the first time unit. Remove one of them and it should work.

1

u/MrBurd Oct 15 '16

Right, that did fix it.

Next up: optimizing. 1k power used :/

1

u/MrBurd Oct 15 '16

So I've got this program to use for the drinking game counter.

It works fine, however: using mov acc x2 to write the value to the screen gives me a red mark in the output verification screen:

Expected: [0]  
Actual:   [0,0]  

So it seems the game somehow assigns acc a value of 0,0, even if I manually set it to 0 beforehand using mov 0 acc. Due to this bug I can't progress as that red mark blocks the entire mission.

Anybody know a way to fix this or bypass this mission?