Re: Wrong error message from 2u

Vincent Lefevre <[email protected]> Mon, 12 Aug 2024 12:48:46 +0200
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <[email protected]>
On 2024-08-12 12:04:36 +0200, Ruud H.G. van Tol wrote:
> >    P.S.  IMO, 2u should better be parsed (as expected by the user!).
> 
> Rather not. For example, 2e1 is already syntax, so can't also mean 2*e1.

Agreed. qalc (Qalculate) is quite horrible in this respect:

> 2e

  2 × e ≈ 5.436563657

> 2e + 1

  (2 × e) + 1 ≈ 6.436563657

> 2e+1

  2 × 10¹ = 20

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)