Re: double factorial returns CL rational

David Scherfgen via Maxima-discuss <[email protected]>
Newsgroups gmane.comp.mathematics.maxima.general
Message-ID <CAMTHLKjhyHeBSgH9nKm2M8spZMtpqa8USrLpWb2LqcxbAkSPDw@mail.gmail.com>
I have fixed this. It was a simple oversight in yesterday's commit that
used * and / instead of MUL and DIV in the DOUBLE_FACTORIAL simplifier.

Best regards
David Scherfgen

Am Fr., 17. Apr. 2026 um 12:29 Uhr schrieb Barton Willis via Maxima-discuss
<[email protected]>:

> Minor (new, I think) problem:
>
> MAXIMA> (rationalp (ftake '%double_factorial -7))
> T
>
>
> CL rationals look okay:
>
> (%i27) (-7)!!;
> (%o27) -(1/15)
>
> (%i28) -1/15;
> (%o28) -(1/15)
>
>
> The function alike1 correctly tells me they are not the same:
>
> (%i35) ?alike1((-7)!!, -1/15);
> (%o35) false
>
> And equal tells me they are:
>
> (%i40) equal((-7)!!, -1/15);
> (%o40) equal(-(1/15),-(1/15))
>
> (%i41) is(%);
> (%o41) true
>
>
> --Barton
> _______________________________________________
> Maxima-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/maxima-discuss
>

_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.