From 58cb366e7e2643edc427b7cb898df3d5d7ce4d09 Mon Sep 17 00:00:00 2001 From: IRainman Date: Mon, 5 May 2025 18:21:35 +0300 Subject: [PATCH] Finally: after type refactoring is done give compiler opportunity to select best type for performance. --- include/fast_float/float_common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 90eecc2..d2a99c0 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -34,12 +34,12 @@ namespace fast_float { // The number of digits in the mantissa. -typedef uint16_t am_digits; +typedef uint_fast16_t am_digits; // The number of bits in the limb. -typedef uint8_t limb_t; +typedef uint_fast8_t limb_t; -typedef uint8_t chars_format_t; +typedef uint_fast8_t chars_format_t; enum class chars_format : chars_format_t;