mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Change explanation of unsigned types
This commit is contained in:
parent
177adaa5a5
commit
21fa7d7e39
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user