Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am wondering why the bit masks are Big (not Little) Endian? I'm sure there's a reason the example is done that way, I just don't know what it is.


I wanted to put the 1 visually close to the equal sign, so you didn't have to scan all the way to the end of 0000000000000000000000000000000 to find it. Perhaps this is misleading, because the code places the set bit at the LSB!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: