News for hackers. Stuff that matters.
Re:Learn C and build your own Lisp by andyroid on Friday April 04, 2014 @11:43AM (#7532117)
I would say ONE_TB is an improvement over 1099511627776 when it comes to "natural to reason about" numbers, but yes, defining ZERO and ONE is moronic.
Re:Learn C and build your own Lisp by nostrademons on Friday April 04, 2014 @05:05PM (#7534384)
A lot of times TiB is spelled 1024 * 1024 * 1024 * 1024 or 1 << 40, relying on compile-time constant folding to compute the final value. I usually find that a lot more readable than remembering the actual number.