It all depends on the precision you need. You could use an infinite series to get to the precision needed but for most use-cases it’s just a double baked into the binary itself, hence O(1)
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments