On 5/10/25 09:36, Andreas Schwab wrote:
On Mai 07 2025, Richard Henderson wrote:
+/* Convert the 3 digit decimal exponent to binary. */
+exp = ((hi >> 24) & 0xf)
++ ((hi >> 20) & 0xf) * 10
++ ((hi >> 16) & 0xf) * 100;
This is backwards. An exponent of 123 is stored as
On Mai 07 2025, Richard Henderson wrote:
> +/* Convert the 3 digit decimal exponent to binary. */
> +exp = ((hi >> 24) & 0xf)
> ++ ((hi >> 20) & 0xf) * 10
> ++ ((hi >> 16) & 0xf) * 100;
This is backwards. An exponent of 123 is stored as 0x0123, not
0x0321.
> +