[Debian-med-packaging] Bug#811866: More C++ help needed (Was: Bug#811866: fixed in hyphy 2.2.6+dfsg-4)
Jakub Wilk
jwilk at debian.org
Sun Aug 14 20:47:28 UTC 2016
* Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>, 2016-08-14, 21:39:
>Also, if you substitute e.g. "255*.94" for "255*94/100", make sure that
>you use parentheses as in "(255*94)/100", otherwise you can end up with
>"255*(94/100) -> 255*0 -> 0" for all such values (I cannot recall the
>rules now, but I think that / takes precedence over *).
No, "/" and "*" (and "%") have the same precedence and left-to-right
associativity. So a*b/c is equivalent to (a*b)/c.
--
Jakub Wilk
More information about the Debian-med-packaging
mailing list