From ccc8115321c5b3b29b11380ebad79c9476edfbf4 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Sat, 21 Mar 2026 05:35:34 +0900 Subject: [PATCH] Update tinygltf_json.h Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- tinygltf_json.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tinygltf_json.h b/tinygltf_json.h index 2cf08b3..1260543 100644 --- a/tinygltf_json.h +++ b/tinygltf_json.h @@ -297,8 +297,9 @@ static const char *cj_scan_str(const char *p, const char *end) { * FAST NUMBER PARSING (C-style) * * Uses Clinger's fast path for float conversion, avoiding strtod() for the - * vast majority of JSON numbers. This is locale-independent and typically - * 4-10x faster than strtod. + * vast majority of JSON numbers. The fast path itself is locale-independent + * and typically 4-10x faster than strtod; however, rare fallback paths may + * still invoke the C library's strtod(), which can be locale-dependent. * * Optional float32 mode (CJ_FLOAT32_MODE flag in cj_parse_number): * Parses floating-point values to float (single) precision and stores