bigdecimal 1.4.0.pre.20181220a → 1.4.0

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: 282bdf1625bd905cddd8a514f317a72fe4eb8c17f9335d123259551308cad865
4
- data.tar.gz: ebfb5e8226148be16fee2739cd0da4d814b17446a1a01dc1b2b337da0a50dec6
3
+ metadata.gz: 59d754906202729560ab57b162e8989d1cc4b65f1632c21f9682d60724aba44f
4
+ data.tar.gz: 0242f55f71651afdcee0eed65384eddc3ae56f35c3cc7adfdcb1bf2565893d8e
5
5
  SHA512:
6
- metadata.gz: 381f3cf9f2f077274d9d41ad0bbb00ca463002e46ef99ea9622471c8958a1fba632a9138af7dffd96035dbaf325ac9e7d93a379ef9ef78e389411ab34c94c6c8
7
- data.tar.gz: b7ece270f85988a2f5e8a5890e667a5540c84c8d08440f8e3e18d960c8e47464f3e9028c60f2fa59c29e34c5ef82af0f8b561c21711e10114d81da9078503ac3
6
+ metadata.gz: 1d718945ceb15ac60452c6195442420562b6cf06058bc106c5227e712d861c6bd6d3f08a0258fa3736dfd35d4d114145cadd8d06632278a447aef7e4c9cee72c
7
+ data.tar.gz: 36bf850a957aafebe21a62d14154dd68708974c086135eed2273861074644d1c3a2002e96970d77dc7abf0281278cb7b1a8c177269bfdae9f1ff092440dde934
@@ -1,6 +1,6 @@
1
1
  # coding: utf-8
2
2
 
3
- bigdecimal_version = '1.4.0.pre.20181220a'
3
+ bigdecimal_version = '1.4.0'
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "bigdecimal"
@@ -2668,7 +2668,7 @@ BigDecimal_new(int argc, VALUE *argv)
2668
2668
  }
2669
2669
 
2670
2670
  /* call-seq:
2671
- * BigDecimal(initial, digits)
2671
+ * BigDecimal(initial, digits, exception: true)
2672
2672
  *
2673
2673
  * Create a new BigDecimal object.
2674
2674
  *
@@ -2682,8 +2682,13 @@ BigDecimal_new(int argc, VALUE *argv)
2682
2682
  * the number of significant digits is determined from the initial
2683
2683
  * value.
2684
2684
  *
2685
- * The actual number of significant digits used in computation is usually
2686
- * larger than the specified number.
2685
+ * The actual number of significant digits used in computation is
2686
+ * usually larger than the specified number.
2687
+ *
2688
+ * exception:: Whether an exception should be raised on invalid arguments.
2689
+ * +true+ by default, if passed +false+, just returns +nil+
2690
+ * for invalid.
2691
+ *
2687
2692
  *
2688
2693
  * ==== Exceptions
2689
2694
  *
@@ -3955,9 +3960,6 @@ VP_EXPORT size_t
3955
3960
  VpInit(BDIGIT BaseVal)
3956
3961
  {
3957
3962
  /* Setup +/- Inf NaN -0 */
3958
- VpGetDoubleNaN();
3959
- VpGetDoublePosInf();
3960
- VpGetDoubleNegInf();
3961
3963
  VpGetDoubleNegZero();
3962
3964
 
3963
3965
  /* Allocates Vp constants. */
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.0.pre.20181220a
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenta Murata
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-12-20 00:00:00.000000000 Z
13
+ date: 2018-12-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -123,9 +123,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  version: 2.3.0
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ">"
126
+ - - ">="
127
127
  - !ruby/object:Gem::Version
128
- version: 1.3.1
128
+ version: '0'
129
129
  requirements: []
130
130
  rubygems_version: 3.0.0
131
131
  signing_key: