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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ab90fe1c4ebec626fd337c48854383ac98e78db9e0311ea6136f074bb87095c6
|
4
|
+
data.tar.gz: d822b71864c562be4cae67e908cf019e8730b8f8bd410d1d3800d9ed70cc275f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43d9fa4b95d10b11556e20c4e9986036e2bc089d886716c122fde110da1f611646f8fab4682177af166ccfb89dbf8b592d98d494b495ff38ec07625d6681d215
|
7
|
+
data.tar.gz: 98560156f0e78664a9b94255f0e52be2c2439050be380fdbbc4b61d5fe8412fea75022b1adb720dbc4495072ff9ee0384bcef4ced4ceed7698e2359283b5324d
|
data/bigdecimal.gemspec
CHANGED
@@ -1,23 +1,30 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
bigdecimal_version = '1.4.3'
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
|
-
s.name
|
7
|
-
s.version
|
8
|
-
s.
|
9
|
-
s.
|
10
|
-
|
11
|
-
s.
|
12
|
-
s.description
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
|
6
|
+
s.name = "bigdecimal"
|
7
|
+
s.version = bigdecimal_version
|
8
|
+
s.authors = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"]
|
9
|
+
s.email = ["mrkn@mrkn.jp"]
|
10
|
+
|
11
|
+
s.summary = "Arbitrary-precision decimal floating-point number library."
|
12
|
+
s.description = "This library provides arbitrary-precision decimal floating-point number class."
|
13
|
+
s.homepage = "https://github.com/ruby/bigdecimal"
|
14
|
+
s.license = "ruby"
|
15
|
+
|
16
|
+
s.require_paths = %w[lib]
|
17
|
+
s.extensions = %w[ext/bigdecimal/extconf.rb ext/bigdecimal/util/extconf.rb]
|
18
|
+
s.files = %w[
|
16
19
|
bigdecimal.gemspec
|
17
|
-
bigdecimal.c
|
18
|
-
bigdecimal.
|
19
|
-
|
20
|
-
depend
|
20
|
+
ext/bigdecimal/bigdecimal.c
|
21
|
+
ext/bigdecimal/bigdecimal.def
|
22
|
+
ext/bigdecimal/bigdecimal.h
|
23
|
+
ext/bigdecimal/depend
|
24
|
+
ext/bigdecimal/extconf.rb
|
25
|
+
ext/bigdecimal/util/extconf.rb
|
26
|
+
ext/bigdecimal/util/util.c
|
27
|
+
lib/bigdecimal.rb
|
21
28
|
lib/bigdecimal/jacobian.rb
|
22
29
|
lib/bigdecimal/ludcmp.rb
|
23
30
|
lib/bigdecimal/math.rb
|
@@ -27,5 +34,12 @@ Gem::Specification.new do |s|
|
|
27
34
|
sample/nlsolve.rb
|
28
35
|
sample/pi.rb
|
29
36
|
]
|
30
|
-
|
37
|
+
|
38
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.3.0".freeze)
|
39
|
+
|
40
|
+
s.add_development_dependency "rake", "~> 10.0"
|
41
|
+
s.add_development_dependency "rake-compiler", ">= 0.9"
|
42
|
+
s.add_development_dependency "rake-compiler-dock", ">= 0.6.1"
|
43
|
+
s.add_development_dependency "minitest", "< 5.0.0"
|
44
|
+
s.add_development_dependency "pry"
|
31
45
|
end
|