Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: go: github.com/cockroachdb/apd/v2
Package apd implements arbitrary-precision decimals.
apd implements much of the decimal specification from the General
Decimal Arithmetic (http://speleotrove.com/decimal/) description, which
is refered to here as GDA. This is the same specification implemented by
pythons decimal module (https://docs.python.org/2/library/decimal.html)
and GCCs decimal extension.
Panic-free operation. The math/big types donβt return errors, and instead
panic under some conditions that are documented. This requires users to
validate the inputs before using them. Meanwhile, weβd like our decimal
operations to have more failure modes and more input requirements than the
math/big types, so using that API would be difficult. apd instead returns
errors when needed.
Support for standard functions. sqrt, ln, pow, etc.
Accurate and configurable precision. Operations will use enough internal
precision to produce a correct result at the requested precision. Precision
is set by a "context" structure that accompanies the function arguments,
as discussed in the next section.
Good performance. Operations will either be fast enough or will produce an
error if they will be slow. This prevents edge-case operations from consuming
lots of CPU or memory.
Condition flags and traps. All operations will report whether their
result is exact, is rounded, is over- or under-flowed, is subnormal
(https://en.wikipedia.org/wiki/Denormal_number), or is some other
condition. apd supports traps which will trigger an error on any of these
conditions. This makes it possible to guarantee exactness in computations,
if needed.
SQL scan and value methods are implemented. This allows the use of Decimals as
placeholder parameters and row result Scan destinations.
apd has two main types. The first is Decimal which holds the values of
decimals. It is simple and uses a big.Int with an exponent to describe
values. Most operations on Decimals canβt produce errors as they work
directly on the underlying big.Int. Notably, however, there are no arithmetic
operations on Decimals.
The second main type is Context, which is where all arithmetic operations
are defined. A Context describes the precision, range, and some other
restrictions during operations. These operations can all produce failures,
and so return errors.
Context operations, in addition to errors, return a Condition, which is a
bitfield of flags that occurred during an operation. These include overflow,
underflow, inexact, rounded, and others. The Traps field of a Context can be
set which will produce an error if the corresponding flag occurs. An example
of this is given below.
3 versions
Latest release: about 5 years ago
1,725 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/cockroachdb/apd/v2
View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/cockroachdb%2Fapd
Dependent Repos 2,259
ossf/scorecard-action
Official GitHub Action for OpenSSF Scorecard.- v2.0.1 go.sum
Size: 6.44 MB - Last synced: about 2 hours ago - Pushed: about 5 hours ago
Team-Kujira/ibc-go Fork of cosmos/ibc-go
Interblockchain Communication Protocol (IBC) implementation in Golang.- v2.0.2 e2e/go.mod
- v2.0.2 e2e/go.sum
- v2.0.2 go.mod
- v2.0.2 go.sum
Size: 30.2 MB - Last synced: 18 days ago - Pushed: 8 months ago
paketo-buildpacks/go
A Cloud Native Buildpack for Go- v2.0.1 go.sum
Size: 82.6 MB - Last synced: 5 days ago - Pushed: 5 days ago
paketo-buildpacks/dotnet-core
A Cloud Native Buildpack for .NET Core- v2.0.1 go.sum
Size: 134 MB - Last synced: 5 days ago - Pushed: 5 days ago
cilium/cilium-olm π¦
- v2.0.1 tools/go.sum
Size: 982 KB - Last synced: 9 months ago - Pushed: 12 months ago
dreamer-zq/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v2.0.2 go.mod
- v2.0.2 go.sum
Size: 217 MB - Last synced: 23 days ago - Pushed: 7 months ago
millicent-money/cosmos-sdk
- v2.0.2 go.mod
- v2.0.2 go.sum
Size: 361 MB - Last synced: 9 months ago - Pushed: about 1 year ago
dgfug/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v2.0.2 go.mod
- v2.0.1 go.sum
- v2.0.2 go.sum
Size: 420 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
argoproj-labs/argocd-interlace
Enabling Software Supply Chain Security Capabilities in ArgoCD- v2.0.1 go.sum
Size: 10.2 MB - Last synced: 3 months ago - Pushed: over 1 year ago
ekmixon/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v2.0.2 go.mod
- v2.0.1 go.sum
- v2.0.2 go.sum
Size: 462 MB - Last synced: about 19 hours ago - Pushed: 1 day ago
pawanku2/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v2.0.2 go.mod
- v2.0.1 go.sum
- v2.0.2 go.sum
Size: 490 MB - Last synced: 22 days ago - Pushed: 24 days ago
francissimo/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 423 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
soracom/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v2.0.2 go.mod
- v2.0.1 go.sum
- v2.0.2 go.sum
Size: 677 MB - Last synced: about 1 month ago - Pushed: 4 months ago
championshuttler/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v2.0.2 x/group/go.mod
- v2.0.2 x/group/go.sum
Size: 367 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
L00170150/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v2.0.2 go.mod
- v2.0.1 go.sum
- v2.0.2 go.sum
Size: 582 MB - Last synced: 3 months ago - Pushed: 3 months ago
rikatz/release Fork of kubernetes/release
Release infrastructure for Kubernetes and related components- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 15.7 MB - Last synced: 21 days ago - Pushed: about 1 year ago
aluzzardi/dagger Fork of dagger/dagger
A portable devkit for CI/CD pipelines- v2.0.1 go.sum
Size: 50.1 MB - Last synced: 5 days ago - Pushed: 6 days ago
sysrex/celestia-node Fork of celestiaorg/celestia-node
Celestia Data Availability Nodes- v2.0.2 go.sum
Size: 80.8 MB - Last synced: 9 months ago - Pushed: 9 months ago
stolostron/grafana Fork of grafana/grafana
The tool for beautiful monitoring and metric analytics & dashboards for Graphite, InfluxDB & Prometheus & More- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 746 MB - Last synced: about 10 hours ago - Pushed: about 11 hours ago
AndiDog/skaffold Fork of GoogleContainerTools/skaffold
Easy and Repeatable Kubernetes Development- v2.0.1 go.sum
Size: 90 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
cue-lang/cuelang.org
Source for the https://cuelang.org site. Raise issues at https://github.com/cue-lang/cue/issues- v2.0.1 go.mod
- v2.0.1 go.sum
- v2.0.1 play/go.mod
- v2.0.1 play/go.sum
Size: 63.2 MB - Last synced: 4 days ago - Pushed: 5 days ago
knkgun/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v2.0.2 go.mod
- v2.0.2 go.sum
- v2.0.2 x/group/go.mod
- v2.0.2 x/group/go.sum
Size: 386 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
kleimanb81/cosmos-sdk Fork of pomifer/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v2.0.2 go.mod
- v2.0.2 go.sum
Size: 406 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
jsilverio22/acorn Fork of acorn-io/acorn
A simple application deployment framework for Kubernetes- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 5.23 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
ossf/scorecard-webapp
Website and API for OpenSSF Scorecard- v2.0.1 go.sum
Size: 20.5 MB - Last synced: 1 day ago - Pushed: 1 day ago
paketo-buildpacks/php
A Cloud Native Buildpack for PHP- v2.0.1 go.sum
Size: 1.01 MB - Last synced: 25 days ago - Pushed: 26 days ago
paketo-buildpacks/web-servers
A Cloud Native Buildpack for Web Servers- v2.0.1 go.sum
Size: 1.63 MB - Last synced: 1 day ago - Pushed: 1 day ago
paketo-buildpacks/nodejs
A Cloud Native Buildpack for Node.JS- v2.0.1 go.sum
Size: 1.31 MB - Last synced: 5 days ago - Pushed: 5 days ago
Thunnini/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v2.0.2 go.mod
- v2.0.2 go.sum
Size: 431 MB - Last synced: 10 months ago - Pushed: about 1 year ago
sysdiglabs/redis_exporter Fork of oliver006/redis_exporter
Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x, 4.x, 5.x and 6.x- v2.0.1 contrib/redis-mixin/go.sum
Size: 7.08 MB - Last synced: 4 months ago - Pushed: 4 months ago
QuokkaStake/cosmos-transactions-bot
Track any transactions you need on multiple Cosmos chains- v2.0.2 go.mod
- v2.0.2 go.sum
Size: 1 MB - Last synced: 18 days ago - Pushed: 2 months ago
mpherman2/test-infra Fork of kubernetes/test-infra
Test infrastructure for the Kubernetes project.- v2.0.1 hack/tools/go.sum
Size: 205 MB - Last synced: 11 months ago - Pushed: 11 months ago
nativeit-dev/docker-ci
Workflow for publishing Docker images- v2.0.1 tools/cosign/go.mod
- v2.0.1 tools/cosign/go.sum
Size: 9.15 MB - Last synced: 25 days ago - Pushed: about 1 year ago
EmpowerPlastic/empowerchain
Empowerchain is a global platform to revolutionize waste management and recycling, creating a transparent and efficient circular economy.- v2.0.2 chain/go.mod
- v2.0.2 chain/go.sum
Size: 66.4 MB - Last synced: 28 days ago - Pushed: 29 days ago
Revolyssup/meshkit Fork of meshery/meshkit
Common microservices framework for Layer5 projects.- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 38 MB - Last synced: 10 months ago - Pushed: about 1 year ago
dekkagaijin/cosign Fork of sigstore/cosign
Container Signing- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 18.5 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
vaikas/cosign Fork of sigstore/cosign
Container Signing- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 21.5 MB - Last synced: 7 months ago - Pushed: 7 months ago
USC-Developers/gaia Fork of cosmos/gaia
Cosmos Hub- v2.0.2 go.mod
- v2.0.2 go.sum
Size: 109 MB - Last synced: about 1 month ago - Pushed: almost 2 years ago
Butterneck/dagger Fork of dagger/dagger
A portable devkit for CI/CD pipelines- v2.0.1 go.sum
Size: 17.8 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
sabre1041/cosign Fork of sigstore/cosign
Container Signing- v2.0.1 go.sum
Size: 16.8 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
OlugbengaJJ/scorecard Fork of ossf/scorecard
Security Scorecards - Security health metrics for Open Source- v2.0.1 tools/go.sum
Size: 36.2 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
qinghai5060/cosign Fork of sigstore/cosign
Container Signing- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 18.7 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
fqazi/cockroach Fork of cockroachdb/cockroach
CockroachDB - the open source, cloud-native distributed SQL database.- v2.0.2 go.sum
- v2.0.2 go.mod
Size: 1.55 GB - Last synced: 25 days ago - Pushed: 27 days ago
quantumpacket/scorecard Fork of ossf/scorecard
OSS Security Scorecards- v2.0.1 tools/go.sum
Size: 36 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
ristomcgehee/scorecard Fork of ossf/scorecard
Security Scorecards - Security health metrics for Open Source- v2.0.1 tools/go.sum
Size: 36 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
meshery/meshery-kuma
Meshery Adapter for Kuma- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 8.34 MB - Last synced: 8 days ago - Pushed: 8 days ago
meshery/meshery-linkerd
Meshery adapter for Linkerd- v2.0.1 go.mod
- v2.0.1 go.sum
Size: 1.95 MB - Last synced: 6 days ago - Pushed: 6 days ago
paketo-buildpacks/rackup
A Cloud Native Buildpack that provides start command for rack-compliant applications- v2.0.1 go.sum
Size: 2.13 MB - Last synced: 4 days ago - Pushed: 4 days ago
paketo-buildpacks/php-dist
- v2.0.1 go.sum
Size: 5.23 MB - Last synced: 16 days ago - Pushed: 17 days ago
paketo-community/go-generate
Buildpack that runs go generate- v2.0.1 go.sum
Size: 7.45 MB - Last synced: 4 days ago - Pushed: 4 days ago
paketo-buildpacks/php-redis-session-handler
PHP Redis Session Handler Buildpack- v2.0.1 go.sum
Size: 1.93 MB - Last synced: 2 days ago - Pushed: 2 days ago
paketo-buildpacks/npm-install
A Cloud Native Buildpack for npm- v2.0.1 go.sum
Size: 24.9 MB - Last synced: 4 days ago - Pushed: 4 days ago
paketo-buildpacks/php-httpd
PHP HTTPD Buildpack to set up HTTPD and serve PHP applications- v2.0.1 go.sum
Size: 1.25 MB - Last synced: 4 days ago - Pushed: 4 days ago
paketo-buildpacks/node-run-script
Paketo Node Run Script Cloud Native Buildpack- v2.0.1 go.sum
Size: 1.28 MB - Last synced: 3 days ago - Pushed: 4 days ago
paketo-buildpacks/node-start
- v2.0.1 go.sum
Size: 1.01 MB - Last synced: 3 days ago - Pushed: 4 days ago
paketo-buildpacks/go-dist
A Cloud Native Buildpack for Go- v2.0.1 go.sum
Size: 4.66 MB - Last synced: 2 days ago - Pushed: 3 days ago
paketo-community/staticfile π¦
A Cloud Native Buildpack to provide default server configurations- v2.0.1 go.sum
Size: 608 KB - Last synced: 21 days ago - Pushed: almost 2 years ago
paketo-buildpacks/go-mod-vendor
A Cloud Native Buildpack for Go Modules- v2.0.1 go.sum
Size: 4.81 MB - Last synced: 4 days ago - Pushed: 4 days ago