mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Fix precision typo with C integer types
This commit is contained in:
parent
86273dec2f
commit
30e0d68cd9
@ -50,8 +50,8 @@ short x_short = 0;
|
||||
char x_char = 0;
|
||||
char y_char = 'y'; // Char literals are quoted with ''
|
||||
|
||||
long x_long = 0; // Still 32 bytes for historical reasons
|
||||
long long x_long_long = 0; // Guaranteed to be at least 64 bytes
|
||||
long x_long = 0; // Still 32 bits for historical reasons
|
||||
long long x_long_long = 0; // Guaranteed to be at least 64 bits
|
||||
|
||||
// 32-bit floating-point decimal
|
||||
float x_float = 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user