|
|
Log In | Not a Member? |
Contact ADC |
| < Previous PageNext Page > |
値をその型の幅以上シフトする場合、アーキテクチャに関係なく、空いたビットの値は不定となります。実際、同じアーキテクチャ上の2つの異なるコンパイラは、以下の文の後ではyの値が異なることがあります。
uint32_t x = 0xDEADBEEF;
uint32_t y = x >> 32;
| < Previous PageNext Page > |
Last updated: 2006-03-08
|
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |