Project

General

Profile

« Previous | Next » 

Revision c6c55bb7

Added by nobu (Nobuyoshi Nakada) over 8 years ago

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