aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-01-18 14:52:07 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2021-01-18 14:52:33 -0800
commit9d1475c621af671494769dde5a09db4c86071474 (patch)
tree5cdd50495aad0a3c250b9fced5b9e14e9b54c01d /numeric.rb
parente812b362059706d0fb4ce1ec4f8941383dda6166 (diff)
downloadruby-9d1475c621af671494769dde5a09db4c86071474.tar.gz
Fix JIT link failures
forgotten in https://github.com/ruby/ruby/pull/4018
Diffstat (limited to 'numeric.rb')
-rw-r--r--numeric.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.rb b/numeric.rb
index b8b3a90d75..fbddaa9f6d 100644
--- a/numeric.rb
+++ b/numeric.rb
@@ -202,6 +202,6 @@ class Float
#
def zero?
Primitive.attr! 'inline'
- Primitive.cexpr! 'flo_iszero(self) ? Qtrue : Qfalse'
+ Primitive.cexpr! 'FLOAT_ZERO_P(self) ? Qtrue : Qfalse'
end
end