Output a very high-precision number

llvm-svn: 8856
This commit is contained in:
Chris Lattner 2003-10-05 00:41:07 +00:00
parent dcefc3244a
commit b7688b7b80

View File

@ -80,7 +80,7 @@ static inline std::string itostr(int X) {
static inline std::string ftostr(double V) {
char Buffer[200];
snprintf(Buffer, 200, "%e", V);
snprintf(Buffer, 200, "%20.6e", V);
return Buffer;
}