public override mpc SubtractFrom(mpc x, RoundingMode?roundingMode = null) { mpir.mpc_sub(this, x, this, (int)roundingMode.GetValueOrDefault(DefaultRoundingMode)); return(this); }
public override mpc Add(mpc x, RoundingMode?roundingMode = null) { mpir.mpc_add(this, this, x, (int)roundingMode.GetValueOrDefault(DefaultRoundingMode)); return(this); }
public override mpc Power(mpc exponent, RoundingMode?roundingMode = null) { mpir.mpc_pow(this, this, exponent, (int)roundingMode.GetValueOrDefault(DefaultRoundingMode)); return(this); }
public override mpc DivideFrom(mpc x, RoundingMode?roundingMode = null) { mpir.mpc_div(this, x, this, (int)roundingMode.GetValueOrDefault(DefaultRoundingMode)); return(this); }
public override mpc Fma(mpc x, mpc y, RoundingMode?roundingMode = null) { mpir.mpc_fma(this, this, x, y, (int)roundingMode.GetValueOrDefault(DefaultRoundingMode)); return(this); }
internal xmpc(mpc op) : base(precisionRe: op.PrecisionRe, precisionIm: op.PrecisionIm) { mpir.mpc_set(this, op, (int)DefaultRoundingMode); }