From 422aa152ff36a9f545d9c7a8d127b996e3f13f73 Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Wed, 4 Mar 2026 13:49:58 +0800 Subject: [PATCH] fix: fix libcxx patch error --- src/yycc/patch/libcxx/charconv.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yycc/patch/libcxx/charconv.hpp b/src/yycc/patch/libcxx/charconv.hpp index c87077b..de1795c 100644 --- a/src/yycc/patch/libcxx/charconv.hpp +++ b/src/yycc/patch/libcxx/charconv.hpp @@ -270,7 +270,7 @@ namespace std { // Float to_chars template requires std::floating_point - 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}; }