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

Stas Boukarev <[email protected]> Thu, 12 Feb 2026 19:06:19 +0300
Newsgroups gmane.lisp.steel-bank.devel
Message-ID <CAF63=13EOOQLJ9LaQU8Te=vxs09PzUkZEZ=8rR9i73TJN==etg@mail.gmail.com>
What's signalling this error if there are no traps? Why is it -INEXACT
instead of -OVERFLOW?

On Thu, Feb 12, 2026 at 12:13 PM Andreas Schwab <[email protected]> wrote:
>
> ; compiling file "/home/abuild/rpmbuild/BUILD/maxima-5.49.0-build/maxima-5.49.0/src/float-properties.lisp" (written 18 DEC 2025 07:13:51 AM):
>
> debugger invoked on a FLOATING-POINT-INEXACT in thread
> #<THREAD tid=8808 "main thread" RUNNING {4F97F4A3}>:
>   arithmetic error FLOATING-POINT-INEXACT signalled
> Operation was (SCALE-FLOAT 0.5d0 1025).
>
> Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
>
> restarts (invokable by number or by possibly-abbreviated name):
>   0: [ABORT] Exit debugger, returning to top level.
>
> (SB-KERNEL::SCALE-DOUBLE-FLOAT-MAYBE-OVERFLOW 0.5d0 1025)
> 0]
> ; compilation aborted after 0:00:00.217
> ;
> ; compilation unit aborted
>
> --
> 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