ubjson / universal-binary-json

Community workspace for the Universal Binary JSON Specification.
116 stars 12 forks source link

Add high-precision number examples #54

Closed dmitry-ra closed 10 years ago

dmitry-ra commented 10 years ago

Bug: numeric examples does't contain the high-precision number example. http://ubjson.org/type-reference/value-types/#numeric-example

Please clarify, examples below are correct?

[H][i][22][3.14159265358979323846]
[H][i][10][-1.93+E190]
[H][U][200][8147324734....<200 digits in total>]
ghost commented 10 years ago

@dmitry-ra Good catch, fixed!

Your examples are all correct, I just reworded the 3rd one a little bit differently before including them in the example - http://ubjson.org/type-reference/value-types/#numeric-example