Skip to content · ⁨コンテンツへスキップ⁩
English

Numbers are bits

  • Inside the computer, every int is a row of bits — each bit is a 0 or a 1.
  • We usually read numbers in base 10, but the machine stores them in base 2 (binary).
  • Bitwise operators let you look at and change individual bits.
日本語

数字はビット

  • コンピュータ内部では、すべてのintがビットの列である——各ビットは0か1である。
  • 私たちは通常10進法で数を読むが、機械はそれらを2進法で格納する。
  • ビット演算子により、個々のビットを参照したり変更したりできる。

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP