bigdecimal 1.4.0.pre.20181220a → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bigdecimal.gemspec +1 -1
- data/ext/bigdecimal/bigdecimal.c +8 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59d754906202729560ab57b162e8989d1cc4b65f1632c21f9682d60724aba44f
|
4
|
+
data.tar.gz: 0242f55f71651afdcee0eed65384eddc3ae56f35c3cc7adfdcb1bf2565893d8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d718945ceb15ac60452c6195442420562b6cf06058bc106c5227e712d861c6bd6d3f08a0258fa3736dfd35d4d114145cadd8d06632278a447aef7e4c9cee72c
|
7
|
+
data.tar.gz: 36bf850a957aafebe21a62d14154dd68708974c086135eed2273861074644d1c3a2002e96970d77dc7abf0281278cb7b1a8c177269bfdae9f1ff092440dde934
|
data/bigdecimal.gemspec
CHANGED
data/ext/bigdecimal/bigdecimal.c
CHANGED
@@ -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
|
-
*
|
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
|
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-
|
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:
|
128
|
+
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubygems_version: 3.0.0
|
131
131
|
signing_key:
|