public T RemainderNear(T thisValue, T divisor, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.RemainderNear(thisValue, divisor, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T Pi(EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.Pi(tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T SignalOverflow(EContext ctx, bool neg) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.SignalOverflow(tctx, neg); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T Negate(T value, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.Negate(value, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T Reduce(T thisValue, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.Reduce(thisValue, ctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T RoundAfterConversion(T thisValue, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.RoundAfterConversion(thisValue, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T Add(T thisValue, T other, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.Add(thisValue, other, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T Min(T a, T b, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.Min(a, b, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T Power(T thisValue, T pow, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.Power(thisValue, pow, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T DivideToIntegerZeroScale( T thisValue, T divisor, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.DivideToIntegerZeroScale(thisValue, divisor, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T RoundToExponentSimple( T thisValue, EInteger expOther, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.RoundToExponentSimple(thisValue, expOther, ctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T AddEx( T thisValue, T other, EContext ctx, bool roundToOperandPrecision) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.AddEx( thisValue, other, ctx, roundToOperandPrecision); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T CompareToWithContext( T thisValue, T otherValue, bool treatQuietNansAsSignaling, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.CompareToWithContext( thisValue, otherValue, treatQuietNansAsSignaling, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T MultiplyAndAdd( T thisValue, T multiplicand, T augend, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.MultiplyAndAdd( thisValue, multiplicand, augend, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }
public T DivideToExponent( T thisValue, T divisor, EInteger desiredExponent, EContext ctx) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.DivideToExponent( thisValue, divisor, desiredExponent, tctx); return(ctx == null ? result : ctx.TriggerTraps(result, tctx)); }