3 ms·
The vast majority of the time floats are a significantly more convenient representation, with more than enough precision for the job, and alternatives are so sl
by jacobolus 2y ago
The vast majority of the time floats are a significantly more convenient representation, with more than enough precision for the job, and alternatives are so slow that they are somewhere between painful and literally impossible to use. Arbitrary precision computation grows exponentially more expensive as you perform arithmetic operations on it, and people routinely apply transcendental functions whose results cannot be represented using a finite number of binary digits.
If you are finding otherwise in your personal work, you are likely in some niche field sheltered far from the bulk of numerical computing applications.