When <math/> task is used within <macrodef/> order of
operands is being reversed. 5-1 is being calcvulated as 1-
5 and gives -4 as a result. Same true for division and
mod operations. See attached build.xml.
Example: How to reproduce the bug
Logged In: YES
This is fixed in subversion.