3 ms·
What N? Floating point operations might be limited in precision (and range to some extend), but pretty much any you'll normally encounter will be O(1). Unless
by contravariant 8y ago
What N?
Floating point operations might be limited in precision (and range to some extend), but pretty much any you'll normally encounter will be O(1). Unless you require arbitrary precision.
- umanwizard 8y agoBy exactly the same reasoning, every algorithm is O(1) because your computer is a finite object and so the size of the data is bounded.