diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-12-15 22:30:38 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-15 22:30:38 +0900 |
| commit | 2f177dcd7232f8b8d1d1dd2c4ed3d71583139afe (patch) | |
| tree | 5161a88ea84758ea3dca9b5271745207964015e0 /src/numeric.c | |
| parent | e9fe337b952731226449027a4c34471af27b23e6 (diff) | |
| parent | 4fa3359d44471cf301fe6755dd281a87304d5d01 (diff) | |
| download | mruby-2f177dcd7232f8b8d1d1dd2c4ed3d71583139afe.tar.gz mruby-2f177dcd7232f8b8d1d1dd2c4ed3d71583139afe.zip | |
Merge pull request #5222 from jbampton/remove-trailing-whitespace
refactor: remove trailing whitespace from C, Header, Ruby and YAML files
Diffstat (limited to 'src/numeric.c')
| -rw-r--r-- | src/numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/numeric.c b/src/numeric.c index ab39bd463..2eb5e0ff1 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -75,7 +75,7 @@ int_pow(mrb_state *mrb, mrb_value x) #ifndef MRB_NO_FLOAT mrb_value y = mrb_get_arg1(mrb); mrb_float z; - + if (!mrb_integer_p(y)) { mrb_get_args(mrb, "f", &z); z = pow((mrb_float)base, z); |
