bigdecimal-math_r 0.2.2 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f46621919e3fc9e4c0349499c1199467c0eeda1e8a89805ea585e41062e9f92
4
- data.tar.gz: df4be5868348fb35721c31765c11549738786ea7b1e53de9ccad5215eea1d234
3
+ metadata.gz: 4dd9842a0a845cf239eb182287ed671db8dfd738baec0049a984c912a1c02372
4
+ data.tar.gz: 951fa298fcc884ee15de3a44de5afba3e6adb101aa7fd82978fc9a51be5fabf2
5
5
  SHA512:
6
- metadata.gz: 9c83487bb8efe7bf113b908a5aede213b3707e163471e85b9aef25f78fc0a916bc094bed67385c85f8b91971e601e7e7285e46c35e227eca15894c0c998eb114
7
- data.tar.gz: 2e1d28e87bf8830031452142f4965241d4542719380e1eb8f9b6983fae2d36de0a8488d3424230d7ce41d1430d6d67d994034478ebfc75f08aa0677e7ffde0b9
6
+ metadata.gz: b5db98fbdd47c19d497f406545516170f9c08bb82c85e65ecc519a260b0b3fc907217380504f6b168216faff7675f18cc43335abb2e0a1f7b0cb73794f4bb830
7
+ data.tar.gz: e9b886586aa56a0eeaf509cfc71207b00bbdc3d51bf47da80ebdc5b9932afeb63c62f2a8e54d0746b9d9fd549fa320ec916c88d8ba05685396e0015d7be509a7
data/changelog.md CHANGED
@@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.2] - 2025-10-XX
11
+
10
12
  ### Changed
11
13
  - The names of mathematical constants were unified by the discoverer
12
14
  - Renamed `BigMathR::Const::E.ser` to `BigMathR::Const::E.napier`
@@ -54,6 +54,7 @@ __impl_const_e(VALUE unused_obj, VALUE prec)
54
54
  return rb_bigmath_const_e(prec);
55
55
  }
56
56
 
57
+ #if 0
57
58
  /**
58
59
  * The Euler-Mascheroni constant gamma.
59
60
  * @example
@@ -68,6 +69,7 @@ __impl_const_euler_gamma(VALUE unused_obj, VALUE prec)
68
69
  {
69
70
  return rb_bigmath_const_euler_gamma(prec);
70
71
  }
72
+ #endif
71
73
 
72
74
  /**
73
75
  * The natural logarithm of 2.
@@ -163,6 +165,7 @@ __impl_const_e_napier(VALUE unused_obj, VALUE prec)
163
165
  return E_napier(prec);
164
166
  }
165
167
 
168
+ #if 0
166
169
  /**
167
170
  * Implement by Borwein-Bailey's formula (Brent-McMillan type formula)
168
171
  *
@@ -179,6 +182,7 @@ __impl_const_euler_gamma_borwein_bailey(VALUE unused_obj, VALUE prec)
179
182
  {
180
183
  return EulerGamma_borwein_bailey(prec);
181
184
  }
185
+ #endif
182
186
 
183
187
  /**
184
188
  * Implement by BBP's formula (Borwein and Bailey 2002)
@@ -204,7 +208,9 @@ InitVM_Const(void)
204
208
  {
205
209
  rb_define_module_function(rb_mBigMathR, "PI", __impl_const_pi, 1);
206
210
  rb_define_module_function(rb_mBigMathR, "E", __impl_const_e, 1);
211
+ #if 0
207
212
  rb_define_module_function(rb_mBigMathR, "EulerGamma", __impl_const_euler_gamma, 1);
213
+ #endif
208
214
  rb_define_module_function(rb_mBigMathR, "LOG2", __impl_const_log2, 1);
209
215
  rb_define_module_function(rb_mBigMathR, "LOG_PI", __impl_const_log_pi, 1);
210
216
  rb_define_module_function(rb_mBigMathR, "LOG10", __impl_const_log10, 1);
@@ -214,10 +220,12 @@ InitVM_Const(void)
214
220
  rb_define_module_function(rb_mConstPI, "machin", __impl_const_pi_machin, 1);
215
221
  rb_define_module_function(rb_mConstE, "napier", __impl_const_e_napier, 1);
216
222
  rb_define_module_function(rb_mConstE, "euler_number", __impl_const_e_napier, 1);
223
+ #if 0
217
224
  rb_define_module_function(rb_mConstEulerGamma, "borwein_bailey",
218
225
  __impl_const_euler_gamma_borwein_bailey, 1);
219
226
  rb_define_module_function(rb_mConstEulerGamma, "brent_mcmillan",
220
227
  __impl_const_euler_gamma_borwein_bailey, 1);
228
+ #endif
221
229
  rb_define_module_function(rb_mConstLOG2, "bbp2002", __impl_const_log2_bbp2002, 1);
222
230
  }
223
231
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module BigMathR
4
4
  # Module version.
5
- VERSION = "0.2.2"
5
+ VERSION = "0.2.4"
6
6
  end
7
7
 
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigdecimal-math_r
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - tribusonz-2
@@ -366,6 +366,7 @@ files:
366
366
  - ext/bigdecimal/math_r/solver.c
367
367
  - ext/bigdecimal/math_r/trig.c
368
368
  - lib/bigdecimal/math_r.rb
369
+ - lib/bigdecimal/math_r.so
369
370
  - lib/bigdecimal/math_r/const/E_euler.rb
370
371
  - lib/bigdecimal/math_r/const/EulerGamma_engel.rb
371
372
  - lib/bigdecimal/math_r/const/LOG2_bbp2007.rb