double factorial returns CL rational
Barton Willis via Maxima-discuss <[email protected]>
| Newsgroups | gmane.comp.mathematics.maxima.general |
|---|---|
| Message-ID | <SN6PR07MB7952A8E8C4E69BEC922742D3B6202@SN6PR07MB7952.namprd07.prod.outlook.com> |
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