From e054e59a6deda9793b66cf78374b75f7d557bef8 Mon Sep 17 00:00:00 2001 From: Clément Pit--Claudel Date: Fri, 12 Jun 2015 14:28:42 -0700 Subject: Fix a bug spotted by Chris in my BigInteger patch; thanks! The problem was this: Console.WriteLine(Int64.Parse("08000000000000000", NumberStyles.HexNumber)); // => -9223372036854775808 Console.WriteLine(Int64.Parse("9223372036854775808")); // => Value was either too large or too small for an Int64. In other words, large hex numbers are interpreted as a sequence of bits, not as an actual number. --- Test/dafny4/LargeConstants.dfy.expect | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Test/dafny4/LargeConstants.dfy.expect (limited to 'Test/dafny4/LargeConstants.dfy.expect') diff --git a/Test/dafny4/LargeConstants.dfy.expect b/Test/dafny4/LargeConstants.dfy.expect new file mode 100644 index 00000000..4ef2de53 --- /dev/null +++ b/Test/dafny4/LargeConstants.dfy.expect @@ -0,0 +1,2 @@ + +Dafny program verifier finished with 6 verified, 0 errors -- cgit v1.2.3