1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-11 17:24:29 +02:00

Merge pull request #33 from esneider/patch-1

Fix precision typo with C integer types
This commit is contained in:
Adam Bard
2013-06-28 19:55:34 -07:00

View File

@@ -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;