Hacker News new | past | comments | ask | show | jobs | submit login

Another fun one is ONE = 256 (or another power of two).

Intended for fixed point arithmetic where 1 actually means 1/256.




This is nicer example, since the posted one should really have different variable names (e.g. pow3). On the other hand, if this declaration of ONE is global (not contained within some context like a type), then perhaps it should be something like ONE_F8.





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

Search: