Follow-up Comment #4, bug #18166 (project wesnoth):
Arg, gna seems to have eaten that entire comment; here's another try at it.
To the best of my knowledge, there isn't any documentation for this; that's
part of the problem. If there's no documentation, people are likely to assume
that things work here like they do elsewhere. Looking elsewhere, in C/C++/C#,
Java, Perl, Excel, Lua, Python, Haskell, Erlang, Scala, Fortran, PHP, Ruby,
Pascal (I could probably keep going for a while longer if I really wanted to),
as well as the basic algebra we're taught in school all have * and / having
the same precedence, and associativity going from left to right. So we expect
axb/c to be the same as (axb)/c and a/bxc to be the same as (a/b)xc. When
we're working with floating point the difference is hard to see, but with
integer calculations (like formulas assume by default here) the difference can
be enormous.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18166>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs