Skip to content

Commit b6be13d

Browse files
Leonid S. Usovwtlangford
authored andcommitted
Add decNumber library
The library adds support for decimal numbers of arbitrary length. Downloaded from ICU, under ICU 1.8.1 license http://download.icu-project.org/files/decNumber/decNumber-icu-368.zip
1 parent 37b2d21 commit b6be13d

36 files changed

Lines changed: 20503 additions & 0 deletions

COPYING

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,41 @@ WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
6868
REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
6969
OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
7070

71+
72+
73+
jq uses parts of the open source C library "decNumber", which is distribured
74+
under the following license:
75+
76+
77+
ICU License - ICU 1.8.1 and later
78+
79+
COPYRIGHT AND PERMISSION NOTICE
80+
81+
Copyright (c) 1995-2005 International Business Machines Corporation and others
82+
All rights reserved.
83+
84+
Permission is hereby granted, free of charge, to any person obtaining a
85+
copy of this software and associated documentation files (the
86+
"Software"), to deal in the Software without restriction, including
87+
without limitation the rights to use, copy, modify, merge, publish,
88+
distribute, and/or sell copies of the Software, and to permit persons
89+
to whom the Software is furnished to do so, provided that the above
90+
copyright notice(s) and this permission notice appear in all copies of
91+
the Software and that both the above copyright notice(s) and this
92+
permission notice appear in supporting documentation.
93+
94+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
95+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
96+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
97+
OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
98+
HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
99+
INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
100+
FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
101+
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
102+
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
103+
104+
Except as contained in this notice, the name of a copyright holder
105+
shall not be used in advertising or otherwise to promote the sale, use
106+
or other dealings in this Software without prior written authorization
107+
of the copyright holder.
108+

docs/content/download/default.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ body:
1313
jq is licensed under the MIT license. For all of the gory
1414
details, read the file `COPYING` in the source distribution.
1515
16+
jq uses a C library for decimal number support. This is an ICU 1.8.1
17+
licensed code obtained from the ICU downloads archive
18+
http://download.icu-project.org/files/decNumber/decNumber-icu-368.zip.
19+
1620
1721
### Linux
1822

src/decNumber/ICU-license.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<html>
2+
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></meta>
5+
<title>ICU License - ICU 1.8.1 and later</title>
6+
</head>
7+
8+
<body>
9+
<h1>ICU License - ICU 1.8.1 and later</h1>
10+
<pre>
11+
COPYRIGHT AND PERMISSION NOTICE
12+
13+
Copyright (c) 1995-2005 International Business Machines Corporation and others
14+
All rights reserved.
15+
16+
Permission is hereby granted, free of charge, to any person obtaining a
17+
copy of this software and associated documentation files (the
18+
"Software"), to deal in the Software without restriction, including
19+
without limitation the rights to use, copy, modify, merge, publish,
20+
distribute, and/or sell copies of the Software, and to permit persons
21+
to whom the Software is furnished to do so, provided that the above
22+
copyright notice(s) and this permission notice appear in all copies of
23+
the Software and that both the above copyright notice(s) and this
24+
permission notice appear in supporting documentation.
25+
26+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
27+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
29+
OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
30+
HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
31+
INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
32+
FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
33+
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
34+
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
35+
36+
Except as contained in this notice, the name of a copyright holder
37+
shall not be used in advertising or otherwise to promote the sale, use
38+
or other dealings in this Software without prior written authorization
39+
of the copyright holder.
40+
41+
--------------------------------------------------------------------------------
42+
All trademarks and registered trademarks mentioned herein are the property of their respective owners.
43+
</pre>
44+
</body>
45+
</html>

0 commit comments

Comments
 (0)