Testsuite "failures" with complex sign
David Billinghurst <[email protected]> Sun, 2 Aug 2026 22:54:15 +1000
| Newsgroups | gmane.comp.mathematics.maxima.general |
|---|---|
| Message-ID | <[email protected]> |
--===============1816665621081280352==
Content-Language: en-US
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>There are a couple of testsuite "failures" with git head. </p>
<p><font face="monospace">Error(s) found:<br>
/usr/local/src/maxima/tests/rtest16.mac problems:<br>
(822 823 835)<br>
/usr/local/src/maxima/tests/rtest_sign.mac problems:<br>
(478 479 480 481 482)<br>
/usr/local/src/maxima/tests/rtest_elliptic.mac problem:<br>
(243)<br>
/usr/local/src/maxima/tests/rtest_sinc.mac problems:<br>
(15 16 17)<br>
12 tests failed out of 20,499 total tests.</font><br>
</p>
<p>The results for rtest16.mac and <font face="monospace">rtest_sign.mac
(below) </font>seem correct. Perhaps they haven't been updated
. I will investigate the others tomorrow if no-one beats me to
it.<br>
</p>
<p><font face="monospace">Maxima-version:
"branch_5_49_base_825_g0dff1de2d"<br>
Maxima build date: "2026-08-02 19:51:08"<br>
Host type: "x86_64-pc-cygwin"<br>
Lisp implementation type: "CLISP"<br>
Lisp implementation version: "2.49+ (2010-07-17) (built
3666924299) (memory 3994653071)"<br>
User dir: "/home/dabilling/.maxima"<br>
Temp dir: "/tmp"<br>
Object dir:
"/usr/local/src/maxima/binary/branch_5_49_base_825_g0dff1de2d/clisp/2_49___2010_07_17___built_3666924299___memory_3994653071_"<br>
Frontend: false</font></p>
<p><font face="monospace">Running tests in rtest16: <br>
********************* rtest16.mac: Problem 822 (line 3202)
********************<br>
<br>
Input:<br>
errcatch(sign(0.0 %i))<br>
<br>
<br>
Result:<br>
[zero]<br>
<br>
This differed from the expected result:<br>
[]<br>
<br>
********************* rtest16.mac: Problem 823 (line 3205)
********************<br>
<br>
Input:<br>
csign(0.0 %i)<br>
<br>
<br>
Result:<br>
zero<br>
<br>
This differed from the expected result:<br>
imaginary<br>
<br>
********************* rtest16.mac: Problem 835 (line 3243)
********************<br>
<br>
Input:<br>
carg(0.0 + %i 0.0)<br>
<br>
<br>
Result:<br>
0<br>
<br>
This differed from the expected result:<br>
0.7853981633974483</font></p>
<p><font face="monospace">Running tests in rtest_sign: <br>
******************* rtest_sign.mac: Problem 478 (line 1570)
*******************<br>
<br>
Input:<br>
errcatch(sign(0.0 %i))<br>
<br>
<br>
Result:<br>
[zero]<br>
<br>
This differed from the expected result:<br>
[]<br>
<br>
******************* rtest_sign.mac: Problem 479 (line 1573)
*******************<br>
<br>
Input:<br>
sign(0.0)<br>
<br>
<br>
Result:<br>
zero<br>
<br>
This differed from the expected result:<br>
pos<br>
<br>
******************* rtest_sign.mac: Problem 480 (line 1576)
*******************<br>
<br>
Input:<br>
sign(- 0.0)<br>
<br>
<br>
Result:<br>
zero<br>
<br>
This differed from the expected result:<br>
neg<br>
<br>
******************* rtest_sign.mac: Problem 481 (line 1579)
*******************<br>
<br>
Input:<br>
csign(0.0 %i)<br>
<br>
<br>
Result:<br>
zero<br>
<br>
This differed from the expected result:<br>
imaginary<br>
<br>
******************* rtest_sign.mac: Problem 482 (line 1582)
*******************<br>
<br>
Input:<br>
csign(0.0 + 0.0 %i)<br>
<br>
<br>
Result:<br>
zero<br>
<br>
This differed from the expected result:<br>
complex<br>
<br>
569/574 tests passed (not counting 5 expected errors)<br>
<br>
The following 5 problems failed: (478 479 480 481 482)<br>
</font></p>
</body>
</html>
--===============1816665621081280352==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============1816665621081280352==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
--===============1816665621081280352==--