News for hackers. Stuff that matters.
Re:Folks, we have the best π by mistercow on Monday September 15, 2025 @05:22AM (#45247729)
> How to calculate π for n-metrics numerically. The general idea of "divide the circle into segments and calculate the length by the metric" is explained, but the exact algorithm or formulas are not shown.

I feel like that would have been a bit in the weeds for the general pacing of this post, but you just convert each angle to a slope, then solve for y/x = that slope, and the metric from (0,0) to (x,y) equal to 1, right? Now you have a bunch of points and you just add up the distances.

Re:Folks, we have the best π by whyandgrowth on Monday September 15, 2025 @05:29AM (#45247773)
Thanks