Re: [Sbcl-bugs] [PATCH] Properly model the non-existing floating point traps on RISC-V

Stas Boukarev <[email protected]> Fri, 13 Feb 2026 01:39:12 +0300
Newsgroups gmane.lisp.steel-bank.devel
Message-ID <CAF63=12JRciA0oO+4gr21mWBFS3OWOWCe-pG8QjdjCSaP=-Bgw@mail.gmail.com>
This is what I get on the current risc-v sbcl:
(scale-float 0.5d0 1025)
=>
#.DOUBLE-FLOAT-POSITIVE-INFINITY

On Thu, Feb 12, 2026 at 7:23 PM Andreas Schwab <[email protected]> wrote:
>
> On Feb 12 2026, Stas Boukarev wrote:
>
> > What's signalling this error if there are no traps?
>
> Because float-traps-byte is incorrectly overlayed over
> float-exceptions-byte.
>
> > Why is it -INEXACT instead of -OVERFLOW?
>
> Because it is an inexact operation.
>
> --
> Andreas Schwab, SUSE Labs, [email protected]
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."


_______________________________________________
Sbcl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-devel