1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-09 08:16:58 +02:00

Merge pull request #946 from devinmcginty/patch-1

Change explanation of unsigned types
This commit is contained in:
Geoff Liu
2015-01-30 15:00:16 -07:00

View File

@@ -85,7 +85,7 @@ int main() {
// doubles are usually 64-bit floating-point numbers // doubles are usually 64-bit floating-point numbers
double x_double = 0.0; // real numbers without any suffix are doubles double x_double = 0.0; // real numbers without any suffix are doubles
// integer types may be unsigned (only positive) // integer types may be unsigned (greater than or equal to zero)
unsigned short ux_short; unsigned short ux_short;
unsigned int ux_int; unsigned int ux_int;
unsigned long long ux_long_long; unsigned long long ux_long_long;