// Helper method. private System.Numerics.BigInteger Convert(Barista.Jurassic.BigInteger value) { var result = System.Numerics.BigInteger.Zero; for (int i = value.WordCount - 1; i >= 0; i--) { result <<= 32; result += value.Words[i]; } if (value.Sign == -1) { result = result * -1; } return(result); }