Re: *large-positive-number* defined twice
Barton Willis via Maxima-discuss <[email protected]>
| Newsgroups | gmane.comp.mathematics.maxima.general |
|---|---|
| Message-ID | <SN6PR07MB7952F2E710F33BDA9970EEE0B6362@SN6PR07MB7952.namprd07.prod.outlook.com> |
Commit [6dac3c]<https://sourceforge.net/p/maxima/code/ci/6dac3c3e0ff74f340b072872f906f57b02a6e272/> master --Barton ________________________________ From: Raymond Toy <[email protected]> Sent: Sunday, April 26, 2026 9:32 AM To: Barton Willis <[email protected]>; <[email protected]> <[email protected]> Subject: Re: [Maxima-discuss] *large-positive-number* defined twice Caution: Non-NU Email On 4/25/26 6:49 PM, Barton Willis wrote: Thanks for catching my flub. It seems that the definition in tlimit should be changed to ;; For limits toward `inf`, assume that the limit variable exceeds `*large-positive-number*` (defmvar *large-positive-number* (expt 10 8)) And in a couple of places in limit.lisp, we should change 100000000 to `*large-positive-number*`. I can make these changes early next week, or if you want to get it done sooner, that's great too. I’m not in any hurry. This was noted by Claude when I asked it to look for circular dependencies between the tlimit and limit. They are pretty tightly coupled with mutual calls between the two which are hard to separate. Thanks. --Barton ________________________________ From: Raymond Toy <[email protected]><mailto:[email protected]> Sent: Saturday, April 25, 2026 6:56 PM To: <[email protected]><mailto:[email protected]> <[email protected]><mailto:[email protected]> Subject: [Maxima-discuss] *large-positive-number* defined twice Caution: Non-NU Email The specvar *large-positive-number* is defined twice. Once in tlimit.lisp and the second in limit.lisp. Only those two files use it. Since tlimit.lisp is compiled first, the actual value is from tlimit.lisp. Since the comment in tlimit says the choice of [2^{42}] was arbitrary, maybe remove the definition from tlimit. Well, that’s not quite right since tlimit is compiled first. So use the value from limit.lisp and remove the definition from tlimit? ​ ​ _______________________________________________ Maxima-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maxima-discuss
MuyTnPPoc9An5RYP.png
(image/png, 583 B) - not displayed