Ejemplo n.º 1
0
        public override Number absoluteDifference(Number otherNumber)
        {
            if (otherNumber.precedence() > precedence()) return otherNumber.absoluteDifference(this);

            double other = getOther(otherNumber);

            return new RadianNumber(modulateRadians(Math.Abs(value - other)));
        }