#DecemberAdventure (ides of march edition) day 6 (already??)
1. more #uxn noodling -- i wrote a little iterative routine to compute integer square roots (code pic attached -- it's just for bytes, but can be extended to shorts). it uses the observation that if N >= x^2 then N - 2(1+..+x-1) >= x. the largest such x is the integer square root, if i didn't screw up my algebra. i'm not too happy with the implementation because i'm sure there's a way to write it more naturally.
2. made the first piece of #shodo #calligraphy that i'm actually reasonably happy about! yay!









HuffPost Japan - Athena2