here i am trying to figure out what kind of arithmetic shifts are allowed in C and it turns out the answer is none of them, because any bitwise shift with a negative value (either operand) is undefined behavior.
don't design languages like this pls.
here i am trying to figure out what kind of arithmetic shifts are allowed in C and it turns out the answer is none of them, because any bitwise shift with a negative value (either operand) is undefined behavior.
don't design languages like this pls.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.