Showing posts with label C runtime. Show all posts
Showing posts with label C runtime. Show all posts

Sunday, November 14, 2010

Problem printing double with printf on iPhone

On other platforms, it usually does not matter whether you use %g or %lg to print double with printf, but for iPhone, you have to use %lg.