From 07312ef04b2eaabef6347ee02973bb5ec2c8dbe5 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Mon, 29 Jun 2020 11:53:20 +0300 Subject: [PATCH] =?UTF-8?q?use=20'=C2=B5'=20as=20postfix=20for=20values=20?= =?UTF-8?q?(before=20used=20'u')?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chprintf.c b/chprintf.c index 5c758f4..14df9f2 100644 --- a/chprintf.c +++ b/chprintf.c @@ -52,7 +52,7 @@ static const uint32_t pow10[FLOAT_PRECISION+1] = { static char bigPrefix[] = {' ', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y', 0}; // Prefixes for values less then 1.0 // 1e-3, 1e-6, 1e-9, 1e-12, 1e-15, 1e-18, 1e-21, 1e-24 -static char smallPrefix[] = {'m', 'u', 'n', 'p', 'f', 'a', 'z', 'y', 0}; +static char smallPrefix[] = {'m', 0x1d, 'n', 'p', 'f', 'a', 'z', 'y', 0}; #pragma pack(pop)