News for hackers. Stuff that matters.
Re:Vectorization: Introduction by jcranmer on Thursday June 01, 2023 @06:37PM (#36158385)
It's not a wrong answer, anymore than writing down ⅓ as 0.333, multiplying that by 3, and discovering that the result is 0.999 and not 1.

And there's nothing in vectorization that requires floating-point numbers; it's just that the algorithms that tend to demand the most out of a computer tend to be large numerical algorithms, which use floating-point.

Re:Vectorization: Introduction by sva_ on Thursday June 01, 2023 @06:40PM (#36158415)
> the result is 0.999 and not 1.

But 0.999... is 1.