diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-29 02:58:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-29 02:58:53 +0000 |
commit | 7c174bcf4dda52a89349b45e030738057d6b554d (patch) | |
tree | 76e2953e54ba10bcda55adc6a8349c5ff64175aa /test/rubygems/test_gem_commands_help_command.rb | |
parent | 2fe086c60d508c28ca59dc6b28027975d5e447bf (diff) | |
download | ruby-7c174bcf4dda52a89349b45e030738057d6b554d.tar.gz |
node.h: sign-extend
* node.h (nd_line): should sign-extend. shifting `VALUE` extends
with zero bits if `sizeof(VALUE)` equals to `sizeof(int)`. the
zero bits are truncated if `sizeof(VALUE)` is bigger enough.
[ruby-core:80920] [Bug #13523]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_help_command.rb')
0 files changed, 0 insertions, 0 deletions