fix: fix libcxx patch error

This commit is contained in:
yyc12345 committed 2026-03-04 13:49:58 +08:00
1 parent 92ce0e29cb
commit 422aa152ff
1 file changed
+1 -1
+1 -1
View File
@@ -270,7 +270,7 @@ namespace std {
// Float to_chars
template<typename T>
requires std::floating_point<T>
to_chars_result to_chars(char* first, char* last, T value, chars_format fmt, int precision = 0) {
to_chars_result to_chars(char* first, char* last, T value, chars_format fmt, int precision = 6) {
if (first >= last) {
return {first, std::errc::value_too_large};
}