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 Remainder( T thisValue, T divisor, EContext ctx, bool roundAfterDivide) { EContext tctx = (ctx == null) ? ctx : ctx.GetNontrapping(); T result = this.math.Remainder( thisValue, divisor, tctx, roundAfterDivide); 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)); }