lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 2021-01-08 at 11:09 +0100, Francisco Olarte wrote:
> Hi:
> 
> On Fri, Jan 8, 2021 at 10:51 AM bel <bel2125@gmail.com> wrote:
> > Even / can lead to confusion:  a*b/c*d
> > - Usually read by programmers as (((a*b)/c)/d)
> > - Sometimes read by mathematicians as ((a*b)/(c*d)), with / as
> > fraction line
> 
> Am I missing something or did you make a typo ?
> Because both the "usually" and "sometimes", ignoring underflow
> issues,
> seem the same to me ( and different from the "even" line ).
> 
> Francisco Olarte.

It seems to me that the first one was meant to read as

- Usually read by programmers as (((a*b)/c)*d)

which is what this expression indeed does as written.
-- 
v <v19930312@gmail.com>