Descriptionmath/big: add support for general encoding interfaces TextMarshaller and TextUnmarshaller to ease transport of unlimited precision rational numbers. Fixes issue 7287. Consists of encode and decode functions and two test functions, one using JSON and one using XML. Each verifies round trips for integers (rationals with denominator == 1) and for fractional vaues. Patch Set 1 #Patch Set 2 : diff -r ec5195954667 https://code.google.com/p/go # Total comments: 1 Patch Set 3 : diff -r ec5195954667 https://code.google.com/p/go #Patch Set 4 : diff -r ec5195954667 https://code.google.com/p/go #Patch Set 5 : diff -r ec5195954667 https://code.google.com/p/go #Patch Set 6 : diff -r ec5195954667 https://code.google.com/p/go # Total comments: 7 Patch Set 7 : diff -r 1fbf514bb22a https://code.google.com/p/go #Patch Set 8 : diff -r 1fbf514bb22a https://code.google.com/p/go #MessagesTotal messages: 14 |