incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Williams <space.ship.travel...@gmail.com>
Subject Re: Numerical accuracy and precision
Date Tue, 17 Jul 2012 03:31:35 GMT
Hi Jens,

Thanks for the information.

So, in light of what you've said, what is the recommended way to ensure
numerical precision with CouchDB?

Kind regards,
Samuel

On 17 July 2012 10:35, Jens Alfke <jens@couchbase.com> wrote:

>
> On Jul 16, 2012, at 9:28 AM, Robert Newson <rnewson@apache.org<mailto:
> rnewson@apache.org>> wrote:
>
> The built-in reduce functions are executed in erlang, which has arbitrary
> precision for integers and 64-bit precision for floating point.
>
> Implementing the design document functions in Erlang would be one
> workaround, although it wouldn't be allowed on a hosted CouchDB server.
>
>
> On Jul 16, 2012, at 8:33 AM, Samuel Williams <
> space.ship.traveller@gmail.com<mailto:space.ship.traveller@gmail.com>>
> wrote:
>
> it seems like a language with built in support for big
> integers would be ideal, e.g. Python, Ruby, rather than JavaScript.
>
> Both these languages are quite a bit slower than JavaScript, though, and
> performance is often a concern for view indexing.
>
> —Jens
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message