Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

printf is broken

Name: Anonymous 2014-09-09 6:44

printf("%.7g", 123.0); prints just "123", without trailing 0. Such is the consistency of C/C++

Name: Anonymous 2014-09-09 22:35

>>1
Although g == f in Russia, g != f in most other parts of the world.

Name: Anonymous 2014-09-09 22:48

>>5

f = float
g = double

although most compilers pass both float and double args in 64-bit registers

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List