Retourner au contenu associé (journal : Un décalage de 64 bits, ça vous inspire comment ?)
Posté par serge_sans_paille (site web personnel) le 14 mai 2017 à 21:33. En réponse au journal Un décalage de 64 bits, ça vous inspire comment ?. Évalué à 4.
Comme en en C ou en C++, sans surprises, d'après la doc http://llvm.org/docs/LangRef.html#lshr-instruction If op2 is (statically or dynamically) equal to or larger than the number of bits in op1, the result is undefined.Donc undefined behavior
If op2 is (statically or dynamically) equal to or larger than the number of bits in op1, the result is undefined.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# en LLVM
Posté par serge_sans_paille (site web personnel) . En réponse au journal Un décalage de 64 bits, ça vous inspire comment ?. Évalué à 4.
Comme en en C ou en C++, sans surprises, d'après la doc http://llvm.org/docs/LangRef.html#lshr-instruction
Donc undefined behaviorIf op2 is (statically or dynamically) equal to or larger than the number of bits in op1, the result is undefined.