分类: C/C++
2009-10-21 12:41:20
#include #include #include int main ( void ) { char *s="0.100001200"; fprintf ( stderr, "%f\n",atof(s)); return 0; } |
#include #include #include int main ( void ) { char *s="0.100001200"; fprintf ( stderr, "%18.10f\n",atof(s)); return 0; } |