decimal 0.0.90.pre → 0.0.91.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +3 -0
- data/decimal.c +3 -0
- data/decimal.gemspec +9 -7
- data/lib/decimal.rb +1 -0
- data/lib/decimal/math.rb +1 -0
- metadata +13 -8
data/.document
ADDED
data/decimal.c
CHANGED
@@ -1972,6 +1972,7 @@ math_frexp10(VALUE module UNUSED, VALUE x)
|
|
1972
1972
|
}
|
1973
1973
|
|
1974
1974
|
/* initialize minimum Math functions in C */
|
1975
|
+
/* not documented yet. */
|
1975
1976
|
static void
|
1976
1977
|
init_math(void)
|
1977
1978
|
{
|
@@ -2017,7 +2018,9 @@ Init_decimal(void)
|
|
2017
2018
|
rb_global_variable(&VALUE_NINF);
|
2018
2019
|
rb_global_variable(&VALUE_NaN);
|
2019
2020
|
/* then define as constants */
|
2021
|
+
/* represents +Infinity. */
|
2020
2022
|
rb_define_const(cDecimal, "INFINITY", VALUE_PINF);
|
2023
|
+
/* represents NaN. (Not a Number) */
|
2021
2024
|
rb_define_const(cDecimal, "NAN", VALUE_NaN);
|
2022
2025
|
|
2023
2026
|
/* generated by:
|
data/decimal.gemspec
CHANGED
@@ -1,20 +1,22 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "decimal"
|
3
3
|
s.rubyforge_project = s.name
|
4
|
-
s.version = "0.0.
|
5
|
-
s.date = "2010-08-
|
4
|
+
s.version = "0.0.91.pre"
|
5
|
+
s.date = "2010-08-12"
|
6
6
|
s.summary = "(yet another) multi-precision decimal arithmetic library"
|
7
7
|
s.homepage = "http://decimal.rubyforge.org/"
|
8
8
|
s.description = <<-EOS.split("\n").map{|l|l.lstrip}.join(" ")
|
9
|
-
Decimal is (yet another) multi-precision decimal arithmetic library. It
|
9
|
+
Decimal is (yet another) multi-precision decimal arithmetic library. It
|
10
10
|
provides simple, compact, fast, precise, stable and easy-to-use solution.
|
11
11
|
EOS
|
12
12
|
s.extensions = "extconf.rb"
|
13
|
-
s.files = %w(COPYING GPL INSTALL README.1st README TODO decimal.c
|
14
|
-
|
15
|
-
lib/decimal
|
16
|
-
|
13
|
+
s.files = %w(.document COPYING GPL INSTALL README.1st README TODO decimal.c
|
14
|
+
decimal.gemspec depend extconf.rb inum18.h inum191.h inum192.h
|
15
|
+
ruby18compat.h lib/decimal.rb lib/decimal/math.rb
|
16
|
+
test_decimal.rb)
|
17
17
|
s.has_rdoc = true
|
18
|
+
s.rdoc_options = %w(-t Decimal -m README)
|
19
|
+
s.extra_rdoc_files = %w(README decimal.c)
|
18
20
|
s.authors = "Tadashi Saito"
|
19
21
|
s.email = "tad.a.digger@gmail.com"
|
20
22
|
s.post_install_message = "\n\t\t" << IO.read("README.1st") << "\n"
|
data/lib/decimal.rb
CHANGED
data/lib/decimal/math.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decimal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 361423138
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
9
|
+
- 91
|
10
10
|
- pre
|
11
|
-
version: 0.0.
|
11
|
+
version: 0.0.91.pre
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Tadashi Saito
|
@@ -16,11 +16,11 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-08-
|
19
|
+
date: 2010-08-12 00:00:00 +09:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|
23
|
-
description: Decimal is (yet another) multi-precision decimal arithmetic library. It
|
23
|
+
description: Decimal is (yet another) multi-precision decimal arithmetic library. It provides simple, compact, fast, precise, stable and easy-to-use solution.
|
24
24
|
email: tad.a.digger@gmail.com
|
25
25
|
executables: []
|
26
26
|
|
@@ -28,7 +28,9 @@ extensions:
|
|
28
28
|
- extconf.rb
|
29
29
|
extra_rdoc_files:
|
30
30
|
- README
|
31
|
+
- decimal.c
|
31
32
|
files:
|
33
|
+
- .document
|
32
34
|
- COPYING
|
33
35
|
- GPL
|
34
36
|
- INSTALL
|
@@ -42,9 +44,9 @@ files:
|
|
42
44
|
- inum18.h
|
43
45
|
- inum191.h
|
44
46
|
- inum192.h
|
47
|
+
- ruby18compat.h
|
45
48
|
- lib/decimal.rb
|
46
49
|
- lib/decimal/math.rb
|
47
|
-
- ruby18compat.h
|
48
50
|
- test_decimal.rb
|
49
51
|
has_rdoc: true
|
50
52
|
homepage: http://decimal.rubyforge.org/
|
@@ -54,8 +56,11 @@ post_install_message: |+
|
|
54
56
|
|
55
57
|
ALL YOUR DECIMAL BASE ARE BELONG TO US
|
56
58
|
|
57
|
-
rdoc_options:
|
58
|
-
|
59
|
+
rdoc_options:
|
60
|
+
- -t
|
61
|
+
- Decimal
|
62
|
+
- -m
|
63
|
+
- README
|
59
64
|
require_paths:
|
60
65
|
- lib
|
61
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|