atoi vs atol vs atof

Hello everybody and I have a doubt...

What is atoi - atol? And atoi - atol vs atof?
And, actually I love atof. But, my really doubt is "Does the float-double function atof perform faster than the integer one?"
In my opinion, I think the "double" is better.
Obviously atoi and atol perform (most times) faster than atof, and atof (again most times) performs faster than (suppose it exists) atod.

Anyways you should try [OH GOD]Avoiding[/OH GOD] them. They have no error checkings, you should use strtol/strtod.
Last edited on


*runs away*
Topic archived. No new replies allowed.