tag:blogger.com,1999:blog-4935128281642477745.post4309259929219394109..comments2024-03-08T00:18:06.468-08:00Comments on Thoughts In Free Time: Bit Hacks in Golion137http://www.blogger.com/profile/08699630333760979130noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4935128281642477745.post-11619473439056798922017-02-10T04:41:00.217-08:002017-02-10T04:41:00.217-08:00Ok now I get it. The glitch in the division cause ...Ok now I get it. The glitch in the division cause the overflow like here: <br />http://ideone.com/Xpt8dNAnonymoushttps://www.blogger.com/profile/16052639677895777212noreply@blogger.comtag:blogger.com,1999:blog-4935128281642477745.post-78929979285059102062017-02-10T04:13:22.817-08:002017-02-10T04:13:22.817-08:00Thanks for bringing this, my bad, I did't stat...Thanks for bringing this, my bad, I did't state it clear ('ve updated the post anyway), the trick in the average function is, that it won't overflow not speed. lion137https://www.blogger.com/profile/08699630333760979130noreply@blogger.comtag:blogger.com,1999:blog-4935128281642477745.post-27377449029802727102017-02-10T03:19:01.001-08:002017-02-10T03:19:01.001-08:00I tried same average function in C but i do not un...I tried same average function in C but i do not understand how is that faster. In assembler it seems that time would be similar if not same. See here for my results https://godbolt.org/g/CEmy2EAnonymoushttps://www.blogger.com/profile/16052639677895777212noreply@blogger.com