Three simple math routines that aren’t in most standard libraries that are muscle memory at this point for me: (1) integer divide rounding up; (2) lerp; (3) clamp.
-
Show this thread
-
BTW, is there a preferred name for the “integer divide rounding up” function?
5 replies 1 retweet 5 likesShow this thread -
Replying to @pcwalton
Align_up? Commonly used to find out how many larger-granularity chunks are needed to fit some number of smaller things, at least that's my experience
1 reply 0 retweets 3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.