News for hackers. Stuff that matters.
Re:Formerly good at math, but I've lost my skills. Any advic... by dcosson on Friday April 08, 2011 @02:18PM (#2425020)
multiplication and division have the same precedence, and division (like most operations) is left-associative. For example, exponentiation is right-associative, so 2^3^2 = 2^9 = 512, not 64.
Re:Formerly good at math, but I've lost my skills. Any advic... by wging on Friday April 08, 2011 @03:11PM (#2425208)
While you're technically correct, of the standard four half (+, *) are both left- and right-associative. / and - are the ones that are only left-associative.