Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
extrano84
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
extrano84
3mo ago
I checked this in an online C-compiler and it is not equivalent to x==1 | x==2. this statement is equivalent to x==2 | x==3. For example, x=3, 3/2 = 1 then 1-1 = 0 so that !(0) is 1 or true. Also for x=1, 1/2 = 0 then 0-1 = -1 and
2.
▲
by
extrano84
11mo ago
I think they are rounding a float for the number display and not rounding for the image as you can see different sized image segments for the months where the number remains at 100 cents. You could still be correct, I have no way of verifyi