public static IntervalDouble math_pow(IntervalDouble a, IntervalDouble b) { IntervalDouble res = new IntervalDouble( Math.pow(a.value, b.value), DoubleInterval.pow(a.interval, b.interval), a.isUnStable || b.isUnStable); return res; }
public static IntervalDouble dmul(IntervalDouble a, IntervalDouble b) { IntervalDouble res = new IntervalDouble( a.value * b.value, DoubleInterval.mul(a.interval, b.interval), a.isUnStable || b.isUnStable); return res; }
public static IntervalDouble drem(IntervalDouble a, IntervalDouble b) { IntervalDouble res = new IntervalDouble( a.value % b.value, DoubleInterval.modulo(a.interval, b.interval), a.isUnStable || b.isUnStable); return res; }
public static IntervalDouble COJAC_MAGIC_DOUBLE_width(IntervalDouble a) { return new IntervalDouble(DoubleInterval.width(a.interval)); }
public static IntervalDouble math_toDegrees(IntervalDouble a) { IntervalDouble res = new IntervalDouble( Math.toDegrees(a.value), DoubleInterval.toDegrees(a.interval), a.isUnStable); return res; }
public static IntervalDouble math_log10(IntervalDouble a) { IntervalDouble res = new IntervalDouble(Math.log10(a.value), DoubleInterval.log10(a.interval), a.isUnStable); return res; }
// it's just a neg operation, dont need to check the stability... public static IntervalDouble dneg(IntervalDouble a) { return new IntervalDouble(-a.value, DoubleInterval.neg(a.interval), a.isUnStable); }