Karim Belabas on Wed, 29 Nov 2023 10:44:34 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: Ilya Zakharevich <nospam-abuse@ilyaz.org>
- Subject: Re: lambertw
- From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
- Date: Wed, 29 Nov 2023 10:44:18 +0100
- Cc: Pari Developers Mailing List <pari-dev@pari.math.u-bordeaux.fr>
- Delivery-date: Wed, 29 Nov 2023 10:44:34 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1701251059; bh=tXfd25m3NpoHm4d23KALYb3ST+ByyAO2kACyJ1rkzik=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GFnGI4AOk0YVOyTubFk/7ASZ9vWRAbYHiqZE+K96725JCH5EsdAEHEP73fHggIOyX y504yOkKt4k0y/fiaUAEQ7UFvyyx38Z2nVTtw8XV6IapecLnmKr8F+q9+62qO1gUuY 7p+YOg1ITVgZrxxySklnio/Z68JeoHgkgcAem8bqI1xO7L5xjUK8zE5xygWgYo03d+ wBh9LSTptFs65zDC6bjNVTzIXGarRBMtt8WfnoUrbOs+tvJ7xeUpF/ktZqU1DS4Oaj JXgIKd6XoH0ZPVyjum4fU2tnBB09RHW669Twcn5OR1U091kQv8RulUE4mEK/kyswF2 /p45MR3BhMyAAigeM9OzWao7Yu1J+Qi0GVfjQ2FfF85VVH5sh61YP4aMVXE2e2nzN1 i1vtOHk9lfH5+jh8ZYx/3dT1ASl6x84yEiH7qfmHqHHsINOi7jY+DN41TydocpYjZW emVTduJwHpHH5rMb1K29+itdKChwgjxXrChR2QhQOsTv9ERa3elrPZkYC1n+Y+bGWz qz1BvA2Xwby9B533yslaymKw0/Rlhzaujb4RRPogp7eE2OSuxSb/eaxNRzTF9KWowq VkPKvD8JLz6LzH/w1UZ922vfyUkg7+qElcHG8zKBDlhvq9qbzY2YOTcRLlFE/O5nyq ug6wVtR0V5yC7WGw00IjTOME=
- In-reply-to: <ZVwpFrkZ6jNP2PMI@login.math.berkeley.edu>
- Mail-followup-to: Ilya Zakharevich <nospam-abuse@ilyaz.org>, Pari Developers Mailing List <pari-dev@pari.math.u-bordeaux.fr>
- References: <ZVwpFrkZ6jNP2PMI@login.math.berkeley.edu>
* Ilya Zakharevich [2023-11-21 04:50]:
> gp > ?lambertw
> lambertw(y,{branch=0}): solution of the implicit equation
> x*exp(x)=y. In the p-adic case, gives a solution of x*exp(x)=y if x
> has positive valuation, of x+log(x)=log(y) otherwise.
>
> First, I would rewrite it as log(x)+x = log(y) to make the match more
> clear.
Done.
> Second, I suspect that what is meant is
>
> y has positive valuation
>
> (not “x”).
Indeed. We were further missing the condition "p odd" for this branch.
For 2-adics, the condition was v_2(y) > 1; in fact, the case v_2(y) < 1
was incorrectly implemented (raised an exception).
All fixed in master. Thanks for your report !
Cheers,
K.B.
--
Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
http://www.math.u-bordeaux.fr/~kbelabas/
- Follow-Ups:
- Re: lambertw
- From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
- References:
- lambertw
- From: Ilya Zakharevich <nospam-abuse@ilyaz.org>