Control: forwarded -1 https://savannah.gnu.org/bugs/?64607
Control: tags -1 + patch confirmed upstream
Thank you for the bug report, Matthias.
This issue has been reported in the upstream bug tracking system. The fix
seems to be trivial, cf patch attached to this message. Let us see if a
new upstream version of interval package for Octave is released soon. If
not, I will released a patched version of octave-interval.
Best,
Rafael Laboissière
* Matthias Klose <d...@debian.org> [2023-08-29 12:20]:
Package: octave-interval
Version: 3.2.1-5
Severity: serious
Tags: sid trixie
Forwarded: https://savannah.gnu.org/bugs/index.php?64607
Affects: src:mpfr4
the octave-interval tests need an update with mpfr4 4.2.1:
see
https://ci.debian.net/data/autopkgtest/testing/amd64/o/octave-interval/37232402/log.gz
Description: Adjust BISTs in src/intervaltotext.cc for MPFR v2.4.1
GNU MPFR had a bug in the formatting function, causing the "+" flag
to be ignored for Inf and NaN. It is now honored in version 2.4.1.
The BISTs in src/intervaltotext.cc are fixed for the coping with the
correct behavior.
Author: Rafael Laboissière <raf...@debian.org>
Bug: https://savannah.gnu.org/bugs/?64607
Bug-Debian: https://bugs.debian.org/1050796
Forwarded: not-needed
Last-Update: 2023-08-29
--- octave-interval-3.2.1.orig/src/intervaltotext.cc
+++ octave-interval-3.2.1/src/intervaltotext.cc
@@ -1281,7 +1281,7 @@ DEFUN_DLD (intervaltotext, args, nargout
%!assert (intervaltotext (infsup (), "[cg]"), "[empty]");
%!assert (intervaltotext (infsup (-inf, inf), "[g]"), "[Entire]");
-%!assert (intervaltotext (infsup (-inf, inf), "[<g]"), "[-inf, inf]");
+%!assert (intervaltotext (infsup (-inf, inf), "[<g]"), "[-inf, +inf]");
%!assert (intervaltotext (infsup (2, 3), "[3g]"), "[ 2, 3]");
%!assert (intervaltotext (infsup (2, 3), "[-3g]"), "[2 , 3 ]");
@@ -1297,7 +1297,7 @@ DEFUN_DLD (intervaltotext, args, nargout
%!assert (intervaltotext (infsup (2, 3), "[f]"), "[2.000000, 3.000000]");
%!assert (intervaltotext (infsup (2, 3), "[e]"), "[2.000000e+00, 3.000000e+00]");
%!assert (intervaltotext (infsup (2, 3), "[E]"), "[2.000000E+00, 3.000000E+00]");
-%!assert (intervaltotext (infsup (-inf, inf), "[<F]"), "[-INF, INF]");
+%!assert (intervaltotext (infsup (-inf, inf), "[<F]"), "[-INF, +INF]");
%!assert (intervaltotext (infsup (2, 3), "?g"), "2.5?5");
%!assert (intervaltotext (infsup (2, 3), "9:?g"), " 2.5?5");