mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
Output a very high-precision number
llvm-svn: 8856
This commit is contained in:
parent
dcefc3244a
commit
b7688b7b80
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user