ruby-mpfr 0.0.2 → 0.0.4
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/History.txt +5 -2
- data/Manifest.txt +33 -7
- data/README.rdoc +10 -8
- data/Rakefile +4 -3
- data/ext/{extconf.rb → mpfr/extconf.rb} +4 -0
- data/ext/{ruby_mpfr.c → mpfr/ruby_mpfr.c} +466 -199
- data/ext/{ruby_mpfr.h → mpfr/ruby_mpfr.h} +2 -0
- data/ext/mpfr_matrix/mpfr/extconf.rb +7 -0
- data/ext/mpfr_matrix/mpfr/func_mpfr_matrix.c +524 -0
- data/ext/mpfr_matrix/mpfr/func_mpfr_matrix.h +72 -0
- data/ext/mpfr_matrix/mpfr/ruby_mpfr.h +40 -0
- data/ext/mpfr_matrix/mpfr/ruby_mpfr_matrix.c +1056 -0
- data/ext/mpfr_matrix/mpfr/ruby_mpfr_matrix.h +13 -0
- data/lib/mpfr/matrix.rb +145 -0
- data/lib/mpfr/version.rb +3 -0
- data/ruby-mpfr.gemspec +36 -0
- data/spec/mpfr/allocate_spec.rb +60 -0
- data/spec/mpfr/arithmetic_spec.rb +64 -0
- data/spec/mpfr/comparison_spec.rb +21 -0
- data/spec/mpfr/constant_spec.rb +23 -0
- data/spec/mpfr/conversion_spec.rb +14 -0
- data/spec/mpfr/exception_spec.rb +60 -0
- data/spec/mpfr/functions_spec.rb +25 -0
- data/spec/mpfr/generate_number_modulue.rb +44 -0
- data/spec/mpfr/precision_roundmode_spec.rb +65 -0
- data/spec/mpfr/rounding_spec.rb +51 -0
- data/spec/mpfr/set_value_spec.rb +77 -0
- data/spec/mpfr/spec_helper.rb +13 -0
- data/spec/mpfr/string_spec.rb +58 -0
- data/spec/mpfr_matrix/generate_matrix_arguments.rb +55 -0
- data/spec/mpfr_matrix/mpfr_matrix_alloc_spec.rb +126 -0
- data/spec/mpfr_matrix/mpfr_matrix_arithmetic_spec.rb +93 -0
- data/spec/mpfr_matrix/mpfr_matrix_set_element_spec.rb +55 -0
- data/spec/mpfr_matrix/mpfr_matrix_string_spec.rb +31 -0
- data/spec/mpfr_matrix/mpfr_square_matrix_spec.rb +75 -0
- data/spec/mpfr_matrix/spec_helper.rb +16 -0
- data/tasks/extconf.rake +36 -0
- metadata +48 -16
- data/lib/ruby-mpfr.rb +0 -6
- data/spec/ruby-mpfr_spec.rb +0 -11
- data/spec/spec_helper.rb +0 -10
- data/tasks/rspec.rake +0 -21
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-mpfr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takayuki YAMAGUCHI
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-17 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,38 +20,70 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.
|
23
|
+
version: 2.4.0
|
24
24
|
version:
|
25
|
-
description:
|
25
|
+
description: |-
|
26
|
+
ruby-mpfr is library to use MPFR[http://www.mpfr.org/] which is a C library for
|
27
|
+
multiple-precision floating-point computations.
|
26
28
|
email:
|
27
29
|
- d@ytak.info
|
28
30
|
executables: []
|
29
31
|
|
30
32
|
extensions:
|
31
|
-
- ext/extconf.rb
|
33
|
+
- ext/mpfr/extconf.rb
|
34
|
+
- ext/mpfr_matrix/mpfr/extconf.rb
|
32
35
|
extra_rdoc_files:
|
33
36
|
- History.txt
|
34
37
|
- Manifest.txt
|
35
38
|
- PostInstall.txt
|
39
|
+
- README.rdoc
|
36
40
|
files:
|
37
41
|
- History.txt
|
38
42
|
- Manifest.txt
|
39
43
|
- PostInstall.txt
|
40
44
|
- README.rdoc
|
41
45
|
- Rakefile
|
42
|
-
-
|
43
|
-
- ext/ruby_mpfr.c
|
44
|
-
- ext/ruby_mpfr.h
|
45
|
-
- ext/extconf.rb
|
46
|
+
- ext/mpfr/extconf.rb
|
47
|
+
- ext/mpfr/ruby_mpfr.c
|
48
|
+
- ext/mpfr/ruby_mpfr.h
|
49
|
+
- ext/mpfr_matrix/mpfr/extconf.rb
|
50
|
+
- ext/mpfr_matrix/mpfr/func_mpfr_matrix.c
|
51
|
+
- ext/mpfr_matrix/mpfr/func_mpfr_matrix.h
|
52
|
+
- ext/mpfr_matrix/mpfr/ruby_mpfr.h
|
53
|
+
- ext/mpfr_matrix/mpfr/ruby_mpfr_matrix.c
|
54
|
+
- ext/mpfr_matrix/mpfr/ruby_mpfr_matrix.h
|
55
|
+
- lib/mpfr/matrix.rb
|
56
|
+
- lib/mpfr/version.rb
|
57
|
+
- ruby-mpfr.gemspec
|
46
58
|
- script/console
|
47
59
|
- script/destroy
|
48
60
|
- script/generate
|
49
|
-
- spec/
|
61
|
+
- spec/mpfr/allocate_spec.rb
|
62
|
+
- spec/mpfr/arithmetic_spec.rb
|
63
|
+
- spec/mpfr/comparison_spec.rb
|
64
|
+
- spec/mpfr/constant_spec.rb
|
65
|
+
- spec/mpfr/conversion_spec.rb
|
66
|
+
- spec/mpfr/exception_spec.rb
|
67
|
+
- spec/mpfr/functions_spec.rb
|
68
|
+
- spec/mpfr/generate_number_modulue.rb
|
69
|
+
- spec/mpfr/precision_roundmode_spec.rb
|
70
|
+
- spec/mpfr/rounding_spec.rb
|
71
|
+
- spec/mpfr/set_value_spec.rb
|
72
|
+
- spec/mpfr/spec_helper.rb
|
73
|
+
- spec/mpfr/string_spec.rb
|
74
|
+
- spec/mpfr_matrix/generate_matrix_arguments.rb
|
75
|
+
- spec/mpfr_matrix/mpfr_matrix_alloc_spec.rb
|
76
|
+
- spec/mpfr_matrix/mpfr_matrix_arithmetic_spec.rb
|
77
|
+
- spec/mpfr_matrix/mpfr_matrix_set_element_spec.rb
|
78
|
+
- spec/mpfr_matrix/mpfr_matrix_string_spec.rb
|
79
|
+
- spec/mpfr_matrix/mpfr_square_matrix_spec.rb
|
80
|
+
- spec/mpfr_matrix/spec_helper.rb
|
50
81
|
- spec/spec.opts
|
51
|
-
-
|
52
|
-
- tasks/rspec.rake
|
82
|
+
- tasks/extconf.rake
|
53
83
|
has_rdoc: true
|
54
|
-
homepage: http://
|
84
|
+
homepage: http://rubyforge.org/projects/ruby-mpfr/
|
85
|
+
licenses: []
|
86
|
+
|
55
87
|
post_install_message: PostInstall.txt
|
56
88
|
rdoc_options:
|
57
89
|
- --main
|
@@ -74,9 +106,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
106
|
requirements: []
|
75
107
|
|
76
108
|
rubyforge_project: ruby-mpfr
|
77
|
-
rubygems_version: 1.3.
|
109
|
+
rubygems_version: 1.3.5
|
78
110
|
signing_key:
|
79
|
-
specification_version:
|
80
|
-
summary: ruby-mpfr is library to use MPFR which is a C library for multiple-precision floating-point computations.
|
111
|
+
specification_version: 3
|
112
|
+
summary: ruby-mpfr is library to use MPFR[http://www.mpfr.org/] which is a C library for multiple-precision floating-point computations.
|
81
113
|
test_files: []
|
82
114
|
|
data/lib/ruby-mpfr.rb
DELETED
data/spec/ruby-mpfr_spec.rb
DELETED
data/spec/spec_helper.rb
DELETED
data/tasks/rspec.rake
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'spec'
|
3
|
-
rescue LoadError
|
4
|
-
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
5
|
-
require 'spec'
|
6
|
-
end
|
7
|
-
begin
|
8
|
-
require 'spec/rake/spectask'
|
9
|
-
rescue LoadError
|
10
|
-
puts <<-EOS
|
11
|
-
To use rspec for testing you must install rspec gem:
|
12
|
-
gem install rspec
|
13
|
-
EOS
|
14
|
-
exit(0)
|
15
|
-
end
|
16
|
-
|
17
|
-
desc "Run the specs under spec/models"
|
18
|
-
Spec::Rake::SpecTask.new do |t|
|
19
|
-
t.spec_opts = ['--options', "spec/spec.opts"]
|
20
|
-
t.spec_files = FileList['spec/**/*_spec.rb']
|
21
|
-
end
|