r/Physics • • 4d ago

Question [ Removed by moderator ]

[removed] — view removed post

0 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/formula_translator Atomic physics 4d ago

I have literally never seen a problem where the clever solution was using 128 bits.

I’ve seen people use them when doing linear algebra with very nearly linearly dependent basis vectors. Whether that is smart? Well ..,

1

u/Banes_Addiction Particle physics 4d ago

That is a common problem to have, and it's sort of one of the archetypal problems that cause numeric instability. Because it's basically a divide by zero. Except it's not actually zero because they're only nearly linearly independent, so... congratulations, you're dividing by a number that is arbitrarily close to zero so you get out a basically meaningless arbitrarily high number.

This is the kind of thing that scares about using 128 bit precision to hide the problem. "Well, now the number I'm about to divide by is allowed to be even closer to zero without returning NaN, problem solved"