summaryrefslogtreecommitdiffstats
path: root/README
blob: 5d1f2a7a38f6b8c207c69ef22da1d4f07fa0ce30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
decmath.js
==========

decmath.js provides a few common decimal arithmetic functions.  The
functions are of course slower than JavaScript's built-in binary
floating-point arithmetic, but the code is smaller and probably faster
than other commonly used decimal arithmetic libraries.

This library is currently less complete than JavaScript's built-in
arithmetic and other decimal arithmetic libraries.  So far it only
includes addition, multiplication, and rounding functions.

This library is a JavaScript port of the Math::Decimal::FastPP Perl
module, also written by Patrick McDermott.

Copyright Information
---------------------

Copyright (C) 2017  Patrick McDermott

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without any warranty.