[Base] Fix formatting in string_util.cc.
This commit is contained in:
parent
693958f8b7
commit
4248f9ed19
|
@ -58,7 +58,8 @@ inline std::string to_string(const __m128& value) {
|
||||||
char buffer[128];
|
char buffer[128];
|
||||||
float f[4];
|
float f[4];
|
||||||
_mm_storeu_ps(f, value);
|
_mm_storeu_ps(f, value);
|
||||||
std::snprintf(buffer, sizeof(buffer), "(%F, %F, %F, %F)", f[0], f[1], f[2], f[3]);
|
std::snprintf(buffer, sizeof(buffer), "(%F, %F, %F, %F)", f[0], f[1], f[2],
|
||||||
|
f[3]);
|
||||||
return std::string(buffer);
|
return std::string(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue