From 6d27524f61a141dfa7c1c66b36bcb1f6b5728f3d Mon Sep 17 00:00:00 2001 From: Wiimm Date: Thu, 27 Oct 2022 12:06:47 +0200 Subject: SZS v2.29a --- project/src/lib-std.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'project/src/lib-std.c') diff --git a/project/src/lib-std.c b/project/src/lib-std.c index 62c70c2..6a42013 100644 --- a/project/src/lib-std.c +++ b/project/src/lib-std.c @@ -808,6 +808,16 @@ char * PrintOptCompatible() return buf; } +/////////////////////////////////////////////////////////////////////////////// + +uint GetEncodedVersion() +{ + static uint code = 0; + if (!code) + code = EncodeVersion(VERSION); + return code; +} + // /////////////////////////////////////////////////////////////////////////////// /////////////// warnings /////////////// @@ -4444,7 +4454,7 @@ enumError cmd_float() } } - printf(" %04x %04x = %12.9g : %04x %04x %04x %04x = %22.18g : |%s|\n", + printf(" %04x %04x = %12.9g : %04x %04x %04x %04x = %24.18g : |%s|\n", be16(w4+0), be16(w4+1), bef4(w4), be16(w8+0), be16(w8+1), be16(w8+2), be16(w8+3), bef8(w8), arg ); -- cgit v1.3.1