internal static TrapException Create(ETrapException ete) { var ex = new TrapException(); ex.ete = ete; return(ex); }
public static ExtendedFloat FromString( string str, int offset, int length, PrecisionContext ctx) { try { return(new ExtendedFloat( EFloat.FromString( str, offset, length, ctx == null ? null : ctx.Ec))); } catch (ETrapException ex) { throw TrapException.Create(ex); } }
internal static TrapException Create(ETrapException ete) { var ex = new TrapException(); ex.ete = ete; return ex; }