summaryrefslogtreecommitdiff
path: root/spec/ruby/core/float
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-08 12:11:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-08 12:11:56 +0900
commit9958ed61bc0f0156f5ed9fd8f058d964d84cac19 (patch)
treea731fddf702608d72a853a21e8057c8426919aed /spec/ruby/core/float
parent4a2662ae8b9f64346af82551fdd6756e7497e2f1 (diff)
Use `roomof` macro
The masking is not only unnecessary but works only when the masking value is a power of 2. Also suppress unary minus operator to unsigned type warnings.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6108
Diffstat (limited to 'spec/ruby/core/float')
0 files changed, 0 insertions, 0 deletions