public static bool TryParse(string v, out BigNum res) { try { res = BigNum.FromString(v); return(true); } catch (FormatException) { res = ZERO; return(false); } }