4 ms·
Ask HN: What was the last Math formula/concept you used while coding?
- ineedasername 8y agoMost recently today? Addition. And counting. This isn't "snark", I work in BI. Counting things and knowing what to count is half the job.
- oblib 8y agoSame here.
- karmakaze 8y agoEuclidean gcd algorithm to determine colinearity of points on an integer grid. Double precision slope/intercept fails here.
- DLA 8y agoRecently used Euclidean distance, weighted average, N-period moving average and Pearson correlation coefficient.
- roundthecorner 8y agoFor production code well, If (p then q) = (NOT p or q)