From 3fc2a38b31bd3e36619db6e53b0aa42f4abfba62 Mon Sep 17 00:00:00 2001 From: Nelson Crosby Date: Mon, 29 Oct 2018 17:16:51 +1300 Subject: [PATCH] Change massive integers to use diagnostic tests This helps with JSON parsers that throw exceptions on integers that blow out a 64-bit signed integer. --- appendix_a.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appendix_a.json b/appendix_a.json index 40d3b56..ca00f5a 100644 --- a/appendix_a.json +++ b/appendix_a.json @@ -63,25 +63,25 @@ "cbor": "G///////////", "hex": "1bffffffffffffffff", "roundtrip": true, - "decoded": 18446744073709551615 + "diagnostic": "18446744073709551615" }, { "cbor": "wkkBAAAAAAAAAAA=", "hex": "c249010000000000000000", "roundtrip": true, - "decoded": 18446744073709551616 + "diagnostic": "18446744073709551616" }, { "cbor": "O///////////", "hex": "3bffffffffffffffff", "roundtrip": true, - "decoded": -18446744073709551616 + "diagnostic": "-18446744073709551616" }, { "cbor": "w0kBAAAAAAAAAAA=", "hex": "c349010000000000000000", "roundtrip": true, - "decoded": -18446744073709551617 + "diagnostic": "-18446744073709551617" }, { "cbor": "IA==",