6 ms·
That doesn't seem possible with the reals. An example from programming that comes to mind is NaN ≹ NaN (in some languages).
by salmonellaeater 3y ago
That doesn't seem possible with the reals. An example from programming that comes to mind is NaN ≹ NaN (in some languages).
- bruce343434 3y agoThe floating point specification mandates that nan does not compare to nan in any way, so it should be all languages. If you want to know nam, use isnan()
- jampekka 3y agoIsn't this what happens with infs (in maths and in many programming languages)? Edit: Not in many programming languages. In IEEE-754 inf == inf. In SymPy too oo == oo, although it's a bit controversial. Feels sketchy.