llvm.org GIT mirror llvm / 27db7e0
Output a very high-precision number git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8856 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
7979
8080 static inline std::string ftostr(double V) {
8181 char Buffer[200];
82 snprintf(Buffer, 200, "%e", V);
82 snprintf(Buffer, 200, "%20.6e", V);
8383 return Buffer;
8484 }
8585
7979
8080 static inline std::string ftostr(double V) {
8181 char Buffer[200];
82 snprintf(Buffer, 200, "%e", V);
82 snprintf(Buffer, 200, "%20.6e", V);
8383 return Buffer;
8484 }
8585