型 ビット数(バイト数) 範囲
byte 8 (1) (-27, 27-1) = (-128, 127)
int 32 (4) (-231, 231-1)
char 16 (2) Unicode の一文字
float 32 (4) IEEE 754 規格の 32 ビット浮動小数点数
double 64 (8) IEEE 754 規格の 64 ビット浮動小数点数
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme