From e516c64bebc4b4ad809e492b97114be930543006 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 12 Jul 2021 16:47:19 +0000 Subject: [PATCH] allows 'e' in string-to-integer converts --- mio/lib/utl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mio/lib/utl.c b/mio/lib/utl.c index ab49ec1..e53e829 100644 --- a/mio/lib/utl.c +++ b/mio/lib/utl.c @@ -1156,7 +1156,7 @@ mio_oow_t mio_byte_to_bcstr (mio_uint8_t byte, mio_bch_t* buf, mio_oow_t size, i /* ========================================================================= */ #define HANDLE_E() \ - if (*p == 'E') \ + if (*p == 'E' || *p == 'e') \ { \ mio_uintmax_t e = 0, i; \ int e_neg = 0; \