rnewson commented on issue #1425:
URL: 
https://github.com/apache/couchdb-fauxton/issues/1425#issuecomment-1887678038

   Agreeing with both, this is a consequence of the number passing through a 
Javascript engine, rather than anything inherent to couchdb itself. You can 
store an _integer_ field in a couchdb document that goes well beyond that (as 
erlang supports multi-precision ints), but avoiding all JS paths is a bit 
trickier. a json index would avoid it, as would a built-in reduce.
   
   Also agreeing that if you want numeric precision beyond 64-bit floating 
point within Javascript you'll need to store them as something other than a 
JSON number (strings, say), and then use a math library to manipulate them 
(noting that math.js has a serialization format that's a JSON object with 
string values).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to