A correctly-rounded arbitrary precision decimal floating point arithmetic library
Go to file
inv2004 d29d842539
make the module gc:arc compatible (#4)
2021-01-05 23:13:31 +01:00
decimal make the module gc:arc compatible (#4) 2021-01-05 23:13:31 +01:00
tests Indent 2 space + fix tests on 0.19.6 2019-08-20 11:16:40 +02:00
.appveyor.yml appveyor: fix version check 2018-09-06 12:00:11 -06:00
.gitignore initial commit 2018-03-22 10:55:03 +01:00
.travis.yml ci: update 2018-09-04 21:48:50 -06:00
LICENSE-APACHEv2 initial commit 2018-03-22 10:55:03 +01:00
LICENSE-BSD-mpdecimal initial commit 2018-03-22 10:55:03 +01:00
LICENSE-MIT initial commit 2018-03-22 10:55:03 +01:00
README.md Update README.md 2019-01-02 14:58:47 +01:00
decimal.nimble make the module gc:arc compatible (#4) 2021-01-05 23:13:31 +01:00

README.md

Decimal

Build Status (Travis) Windows build status (Appveyor) License: Apache License: MIT Stability: experimental

A correctly-rounded arbitrary precision decimal floating point arithmetic library

Installation

You can install the developement version of the library through nimble with the following command

nimble install https://github.com/status-im/nim-decimal@#master

License

Library license

Licensed and distributed under either of

or

at your option. This file may not be copied, modified, or distributed except according to those terms.

Dependency license

This library depends on and redistribute mpdecimal. mpdecimal is available at http://www.bytereef.org/mpdecimal/index.html

Mpdecimal is licensed under the following Simplified BSD terms (BSD 2-clause).

Copyright (c) 2008-2016 Stefan Krah. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.