使用方法/数学符号:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第2行: 第2行:




{| class="wikitable"
|-
|-
| TINYINT || 1 || 8 || [0, <math>2^8</math> - 1] || [<math>-2^7</math>, <math>2^7</math> - 1]
! 类型 !! 单位(字节) !! 单位(bit) !! 范围(无符号) !! 范围(带符号)
|-
| TINYINT || 1 || 8 || [0, <math>E=2^8</math> - 1] || [<math>-2^7</math>, <math>2^7</math> - 1]
|-
|-
| SMALLINT || 2 || 16 || [0, <math>2^{16}</math> - 1] || [<math>-2^{15}</math>, <math>2^{15}</math> - 1]
| SMALLINT || 2 || 16 || [0, <math>2^{16}</math> - 1] || [<math>-2^{15}</math>, <math>2^{15}</math> - 1]
第12行: 第15行:
|-
|-
| BIGINT || 8 || 64 || [0, <math>2^{64}</math> - 1] || [<math>-2^{63}</math>, <math>2^{63}</math> - 1]
| BIGINT || 8 || 64 || [0, <math>2^{64}</math> - 1] || [<math>-2^{63}</math>, <math>2^{63}</math> - 1]
 
|}