couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Smith (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1410) Formally define number support
Date Wed, 15 Feb 2012 14:10:59 GMT


Jason Smith commented on COUCHDB-1410:

Is Javascript relevant? The storage layer reads and writes documents. Everything arrives or
departs (whether to HTTP layer or to a view server) as JSON. What couchjs does with that JSON
seems a different issue. What my browser does with the JSON is a different issue.

I like Paul's point to simply document how it works and leave it at that. It's basically how
most databases work. Maybe Couch 3000 would improve on that, but for today...
> Formally define number support
> ------------------------------
>                 Key: COUCHDB-1410
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Robert Newson
>            Priority: Blocker
>             Fix For: 1.3
> The JSON spec has a very loose definition of Number. CouchDB, as a database, should have
well-defined and first class support for numbers (both integral and decimal). The precision
of number support should be formally specified as should the algorithm used to represent floating-point
values, especially where an approximation must be made in the conversion.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message