Skip to content

Commit 584ff5e

Browse files
committed
Add unsigned int/long type casting pages
I'm not certain whether casting pages for all the types in the reference should be added, but certainly it must be demonstrated that casting can be done to the multi-word types as well. unsigned int/unsigned long are important types, so at a minimum these must be added. Likely it would have been best to write a single generic page on type casting but we took the other fork in the road too long ago to turn back now.
1 parent c847bd1 commit 584ff5e

File tree

2 files changed

+110
-0
lines changed

2 files changed

+110
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: (unsigned int)
3+
categories: [ "Variables" ]
4+
subCategories: [ "Conversion" ]
5+
---
6+
7+
8+
9+
10+
11+
= (unsigned int)
12+
13+
14+
// OVERVIEW SECTION STARTS
15+
[#overview]
16+
--
17+
18+
[float]
19+
=== Description
20+
Converts a value to the link:../../data-types/unsignedint[unsigned int] data type.
21+
[%hardbreaks]
22+
23+
24+
[float]
25+
=== Syntax
26+
`(unsigned int)x`
27+
28+
29+
[float]
30+
=== Parameters
31+
`x`: a value of any type
32+
33+
[float]
34+
=== Returns
35+
`unsigned int`
36+
37+
--
38+
// OVERVIEW SECTION ENDS
39+
40+
41+
42+
43+
// SEE ALSO SECTION
44+
[#see_also]
45+
--
46+
47+
[float]
48+
=== See also
49+
50+
[role="language"]
51+
* #LANGUAGE# link:../../data-types/unsignedint[unsigned int]
52+
53+
54+
--
55+
// SEE ALSO SECTION ENDS
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: (unsigned long)
3+
categories: [ "Variables" ]
4+
subCategories: [ "Conversion" ]
5+
---
6+
7+
8+
9+
10+
11+
= (unsigned long)
12+
13+
14+
// OVERVIEW SECTION STARTS
15+
[#overview]
16+
--
17+
18+
[float]
19+
=== Description
20+
Converts a value to the link:../../data-types/unsignedlong[unsigned long] data type.
21+
[%hardbreaks]
22+
23+
24+
[float]
25+
=== Syntax
26+
`(unsigned long)x`
27+
28+
29+
[float]
30+
=== Parameters
31+
`x`: a value of any type
32+
33+
[float]
34+
=== Returns
35+
`unsigned long`
36+
37+
--
38+
// OVERVIEW SECTION ENDS
39+
40+
41+
42+
43+
// SEE ALSO SECTION STARTS
44+
[#see_also]
45+
--
46+
47+
[float]
48+
=== See also
49+
50+
[role="language"]
51+
* #LANGUAGE# link:../../data-types/unsignedlong[unsigned long]
52+
53+
54+
--
55+
// SEE ALSO SECTION ENDS

0 commit comments

Comments
 (0)