Ruud H.G. van Tol on Sun, 20 Nov 2022 14:31:17 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: symbol manipulation
- From: "Ruud H.G. van Tol" <rvtol@isolution.nl>
- Date: Sun, 20 Nov 2022 14:30:11 +0100
- Delivery-date: Sun, 20 Nov 2022 14:31:17 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=isolution.nl; s=soverin; t=1668951013; bh=GBqMaGM0wc0cz3mvwfZ4DDjNWx3oXNsvfL21H1ucd+c=; h=Date:Subject:From:To:References:In-Reply-To:From; b=D/JFE75w5JYosxW1TvrfvXjfO0wItAZLPFjoaM6Hq99Pw1UAuekerTUhAdWZuMzL4 vanJBphQiW+bFs9CAvT4ikrQBXm8U/7Lwqj9RWilqmbdx/dsn3YxF4t3XSwsmb6B1I poQDUPK+9BV+ccf5G0TnB3B7A2mWCyhErUxPJjaAXjTQRKNViuj+ZpYsVmtzPikzWJ co6/sqMWqcN1d8LECsFpVYL/42tOgqzcpmvhIk5EBhrsMa9GINp+a8J+j0rrks/pN0 sSm7y8yVYK4q/FK2eiZn9lFWt2n8Dz03vxU+UWPAkoHYm3XKqtK5mSrKzjdSPN30kE NLU4aOwOER0yQ==
- In-reply-to: <8e9d3b9d-6bdf-fa9d-5f8f-478c708d3085@isolution.nl>
- References: <8e9d3b9d-6bdf-fa9d-5f8f-478c708d3085@isolution.nl>
Another smaller test:
? li(x,b) = logint(x,b)
%12 = (x,b)->logint(x,b)
? li_2(x) = li(x,2)
%13 = (x)->li(x,2)
? li_2(x)
*** at top-level: li_2(x)
*** ^-------
*** in function li_2: li(x,2)
*** ^-------
*** in function li: logint(x,b)
*** ^-----------
*** logint: incorrect type in logint (t_POL).
*** Break loop: type 'break' to go back to GP prompt
break>
The ultimately desired return value is "logint(x,2)".
How feasible/doable is that?
-- Ruud