skip to Main Content

GoSF – Arbitrary-Precision Decimals

June 21, 2017
Capital One
201 3rd St, San Francisco, CA 94103
San Francisco, CA
Other
Event Details

CockroachDB has released apd, a new arbitrary-precision decimal package for Go. apd supports normal arithmetic and many elementary functions (ln, sqrt, exp) at any precision. The implementations are based on academic research, making them accurate and fast.

Flags are raised during overflow, rounding, and other conditions, making it possible to safely perform bounded and exact computations. It replaced the underlying implementation of the DECIMAL type in CockroachDB, resulting in much greater accuracy and speed.

Sign up to hear about upcoming events in your area.

Additional Resources

Learn how to use
CockroachDB

Need help? Get answers on the CockroachDB forum

What are you building with CockroachDB?

Back To Top