   float vs double in C++
  Have somebody any experience about the speed difference between using floats and using doubles for computing? 
  a double is 64 bits long, which (as I''m sure you know) isn''t how 32-bit processors like to deal with data.Hence, doubles are going to be slightly slower than floats, and you should only use doubles if you really need that much precision (most of the time, you don''t - but sometimes it''s important).Doubles aren''t horribly slow, they''re just "not quite as fast" as floats. ;  Thanks Etnu.I have made a very simple sim. example, and the delta time (float) was so little, that it was treated as zero, and the object did not start moving ;  I''m pretty sure that your typical modern CPU converts all floating point numbers to 80 bits internally, whether they''re 32-bit floats or 64-bit doubles.  Thus, the only signifant performance issue is memory usage.  If you have a ton of doubles, then you could potentially have twice as many floats in that memory.  This could be important if dealing with the CPU cache, for example.  However, if you''re not using a lot of them, and you do need precision, go ahead and use doubles.  Besides, make it work first, then you can maybe worry about optimizing minor things like this.  [No flames, please.  It''s just a suggestion.] 