Afficher un message
Vieux 16/10/2007, 04h03   #1
Anonymous
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut using std::find on a std::vector<double>

I ahve a vector of doubles taht I need to extract values from. I was
just about to use the STL find() algo, but I have a couple of questions:

first: can you specify the tolerance threshold to match on doubles?
second: if yes, how may this be done (i.e. how many one specify the
tolerance threshold for comparing doubles?)
  Réponse avec citation
 
Page generated in 0,04286 seconds with 9 queries