changeset 31919:dd23a26b7294 stable

pr-output.cc: Fix integer output for `format native-bit` (bug #63940) pr-output.cc: Changeset d4d3098a15dc fixed the output of `format native-bit` for floating point numbers to make it consistent with `format native-hex`. This changeset does the same thing for integer types.
author Arun Giridhar <arungiridhar@gmail.com>
date Thu, 23 Mar 2023 11:21:19 -0400
parents 8eeb49ec16d8
children bc7e8f4d4b31 9ddaea221f66
files libinterp/corefcn/pr-output.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/pr-output.cc	Tue Mar 21 17:26:52 2023 -0700
+++ b/libinterp/corefcn/pr-output.cc	Thu Mar 23 11:21:19 2023 -0400
@@ -2851,7 +2851,7 @@
           if (bit_format > 1)
             {
               for (std::size_t i = 0; i < sz; i++)
-                PRINT_CHAR_BITS_SWAPPED (os, tmpi[i]);
+                PRINT_CHAR_BITS (os, tmpi[i]);
             }
           else
             {