bigdecimal 1.2.7 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bigdecimal.gemspec +32 -18
- data/{bigdecimal.c → ext/bigdecimal/bigdecimal.c} +748 -482
- data/ext/bigdecimal/bigdecimal.def +3 -0
- data/{bigdecimal.h → ext/bigdecimal/bigdecimal.h} +87 -12
- data/{depend → ext/bigdecimal/depend} +4 -1
- data/ext/bigdecimal/extconf.rb +40 -0
- data/ext/bigdecimal/util/extconf.rb +24 -0
- data/ext/bigdecimal/util/util.c +9 -0
- data/lib/bigdecimal/jacobian.rb +4 -0
- data/lib/bigdecimal/ludcmp.rb +1 -0
- data/lib/bigdecimal/math.rb +10 -9
- data/lib/bigdecimal/newton.rb +1 -0
- data/lib/bigdecimal/util.rb +74 -55
- data/lib/bigdecimal.rb +22 -0
- data/sample/linear.rb +12 -10
- data/sample/nlsolve.rb +6 -5
- data/sample/pi.rb +1 -0
- metadata +91 -16
- data/README +0 -60
- data/extconf.rb +0 -10
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bigdecimal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenta Murata
|
@@ -10,22 +10,97 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
14
|
-
dependencies:
|
13
|
+
date: 2019-01-10 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rake
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - "~>"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '10.0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - "~>"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '10.0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: rake-compiler
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0.9'
|
36
|
+
type: :development
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.9'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: rake-compiler-dock
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 0.6.1
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 0.6.1
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: minitest
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "<"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 5.0.0
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "<"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 5.0.0
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: pry
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
15
85
|
description: This library provides arbitrary-precision decimal floating-point number
|
16
86
|
class.
|
17
|
-
email:
|
87
|
+
email:
|
88
|
+
- mrkn@mrkn.jp
|
18
89
|
executables: []
|
19
90
|
extensions:
|
20
|
-
- extconf.rb
|
91
|
+
- ext/bigdecimal/extconf.rb
|
92
|
+
- ext/bigdecimal/util/extconf.rb
|
21
93
|
extra_rdoc_files: []
|
22
94
|
files:
|
23
|
-
- README
|
24
|
-
- bigdecimal.c
|
25
95
|
- bigdecimal.gemspec
|
26
|
-
- bigdecimal.
|
27
|
-
-
|
28
|
-
-
|
96
|
+
- ext/bigdecimal/bigdecimal.c
|
97
|
+
- ext/bigdecimal/bigdecimal.def
|
98
|
+
- ext/bigdecimal/bigdecimal.h
|
99
|
+
- ext/bigdecimal/depend
|
100
|
+
- ext/bigdecimal/extconf.rb
|
101
|
+
- ext/bigdecimal/util/extconf.rb
|
102
|
+
- ext/bigdecimal/util/util.c
|
103
|
+
- lib/bigdecimal.rb
|
29
104
|
- lib/bigdecimal/jacobian.rb
|
30
105
|
- lib/bigdecimal/ludcmp.rb
|
31
106
|
- lib/bigdecimal/math.rb
|
@@ -34,26 +109,26 @@ files:
|
|
34
109
|
- sample/linear.rb
|
35
110
|
- sample/nlsolve.rb
|
36
111
|
- sample/pi.rb
|
37
|
-
homepage:
|
38
|
-
licenses:
|
112
|
+
homepage: https://github.com/ruby/bigdecimal
|
113
|
+
licenses:
|
114
|
+
- ruby
|
39
115
|
metadata: {}
|
40
116
|
post_install_message:
|
41
117
|
rdoc_options: []
|
42
118
|
require_paths:
|
43
|
-
-
|
119
|
+
- lib
|
44
120
|
required_ruby_version: !ruby/object:Gem::Requirement
|
45
121
|
requirements:
|
46
122
|
- - ">="
|
47
123
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
124
|
+
version: 2.3.0
|
49
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
126
|
requirements:
|
51
127
|
- - ">="
|
52
128
|
- !ruby/object:Gem::Version
|
53
129
|
version: '0'
|
54
130
|
requirements: []
|
55
|
-
|
56
|
-
rubygems_version: 2.2.2
|
131
|
+
rubygems_version: 3.0.1
|
57
132
|
signing_key:
|
58
133
|
specification_version: 4
|
59
134
|
summary: Arbitrary-precision decimal floating-point number library.
|
data/README
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
|
2
|
-
Ruby BIGDECIMAL(Variable Precision) extension library.
|
3
|
-
Copyright (C) 1999 by Shigeo Kobayashi(shigeo@tinyforest.gr.jp)
|
4
|
-
|
5
|
-
BigDecimal is copyrighted free software by Shigeo Kobayashi <shigeo@tinyforest.gr.jp>.
|
6
|
-
You can redistribute it and/or modify it under either the terms of the GPL
|
7
|
-
(see COPYING file), or the conditions below:
|
8
|
-
|
9
|
-
1. You may make and give away verbatim copies of the source form of the
|
10
|
-
software without restriction, provided that you duplicate all of the
|
11
|
-
original copyright notices and associated disclaimers.
|
12
|
-
|
13
|
-
2. You may modify your copy of the software in any way, provided that
|
14
|
-
you do at least ONE of the following:
|
15
|
-
|
16
|
-
a) place your modifications in the Public Domain or otherwise
|
17
|
-
make them Freely Available, such as by posting said
|
18
|
-
modifications to Usenet or an equivalent medium, or by allowing
|
19
|
-
the author to include your modifications in the software.
|
20
|
-
|
21
|
-
b) use the modified software only within your corporation or
|
22
|
-
organization.
|
23
|
-
|
24
|
-
c) rename any non-standard executables so the names do not conflict
|
25
|
-
with standard executables, which must also be provided.
|
26
|
-
|
27
|
-
d) make other distribution arrangements with the author.
|
28
|
-
|
29
|
-
3. You may distribute the software in object code or executable
|
30
|
-
form, provided that you do at least ONE of the following:
|
31
|
-
|
32
|
-
a) distribute the executables and library files of the software,
|
33
|
-
together with instructions (in the manual page or equivalent)
|
34
|
-
on where to get the original distribution.
|
35
|
-
|
36
|
-
b) accompany the distribution with the machine-readable source of
|
37
|
-
the software.
|
38
|
-
|
39
|
-
c) give non-standard executables non-standard names, with
|
40
|
-
instructions on where to get the original software distribution.
|
41
|
-
|
42
|
-
d) make other distribution arrangements with the author.
|
43
|
-
|
44
|
-
4. You may modify and include the part of the software into any other
|
45
|
-
software (possibly commercial).
|
46
|
-
|
47
|
-
5. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
48
|
-
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
49
|
-
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
|
50
|
-
PURPOSE.
|
51
|
-
|
52
|
-
* The Author
|
53
|
-
|
54
|
-
Feel free to send comments and bug reports to the ruby-core team.
|
55
|
-
|
56
|
-
http://bugs.ruby-lang.org
|
57
|
-
|
58
|
-
-------------------------------------------------------
|
59
|
-
created at: Thu Dec 22 1999
|
60
|
-
updated at: Wed Sep 28 2011
|
data/extconf.rb
DELETED