Comment on Order of magnitude is a hell of a drug

<- View Parent
exasperation@lemmy.dbzer0.com ⁨1⁩ ⁨day⁩ ago

What would be the “n” in that Big O notation, though?

If you’re saying that you want accuracy out to n digits, then there are algorithms with specific complexities for calculating those. But that’s still just an approximation, so those aren’t any better than the real-world implementation method of simply looking up that constant rather than calculating it anew.

source
Sort:hotnewtop