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

Change explanation of unsigned types

This commit is contained in:
Devin McGinty
2015-01-30 16:42:35 -05:00
parent 177adaa5a5
commit 21fa7d7e39

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;