暫無描述

speter 0c8464876b change package name and directory structure 13 年之前
LICENSE 4e6f4a0459 initial import 13 年之前
README 4e6f4a0459 initial import 13 年之前
benchmark_test.go 0c8464876b change package name and directory structure 13 年之前
dec.go 0c8464876b change package name and directory structure 13 年之前
dec_test.go 0c8464876b change package name and directory structure 13 年之前
example_test.go 0c8464876b change package name and directory structure 13 年之前
rounder.go 0c8464876b change package name and directory structure 13 年之前
rounder_test.go 0c8464876b change package name and directory structure 13 年之前

README

godec: multi-precision decimal arithmetic for go

The API and the implementation are based on and complement those in the
multi-precision integer (Int) implementation in the Go library (math/big).

Limitations:
Support for formatting options is currently missing.
There is no support for potentially lossy conversions (e.g. float64 to Dec,
Dec to int64, or Dec to float64) as the requirements for these usually differ
depending on the use case.