dimanche 9 février 2020

Does C++ STL sort check for NaN? [closed]

I was using the sort function in Armadillo library but it kept firing NaN errors which were nonexistent when I checked manually... So I switched to STL sort function and it worked! So my curiosity is, how does STL sort function treat NaNs?

Aucun commentaire:

Enregistrer un commentaire