Re: *large-positive-number* defined twice
Raymond Toy <[email protected]>
| Newsgroups | gmane.comp.mathematics.maxima.general |
|---|---|
| Message-ID | <[email protected]> |
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]> > *Sent:* Saturday, April 25, 2026 6:56 PM > *To:* <[email protected]> > <[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