mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/bigdecimal] Adjust a local variable type to exponent
https://github.com/ruby/bigdecimal/commit/70146fb6ad
This commit is contained in:
parent
e5a852b912
commit
92361ad9c6
1 changed files with 1 additions and 1 deletions
|
@ -3281,7 +3281,7 @@ rb_float_convert_to_BigDecimal(VALUE val, size_t digs, int raise_exception)
|
||||||
|
|
||||||
VALUE inum;
|
VALUE inum;
|
||||||
size_t RB_UNUSED_VAR(prec) = 0;
|
size_t RB_UNUSED_VAR(prec) = 0;
|
||||||
size_t exp = 0;
|
SIGNED_VALUE exp = 0;
|
||||||
if (decpt > 0) {
|
if (decpt > 0) {
|
||||||
if (decpt < len10) {
|
if (decpt < len10) {
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue