Open
0 of 1 issue completedDescription
Use Carbon: C++ Interop - Primitive Types doc as a reference for the type mappings.
- Signed integer types
Carbon type | C++ type | Status | PRs |
---|---|---|---|
i8 | signed char / int8_t | TODO | |
i16 | short / int16_t | DONE | #5393 |
i32 | int / int32_t | DONE | #5197; #5392 |
Core.Cpp.long | long | TODO | |
Core.Cpp.long_long | long long | TODO | |
i64 | int64_t | TODO |
- Unsigned integer types
Carbon type | C++ type | Status |
---|---|---|
u8 | unsigned char / uint8_t | TODO |
u16 | unsigned short / uint16_t | TODO |
u32 | unsigned int / uint32_t | TODO |
Core.Cpp.unsigned_long | unsigned long | TODO |
Core.Cpp.unsigned_long_long | unsigned long long | TODO |
u64 | uint64_t | TODO |
- Floating-point types
Carbon type | C++ type | Status |
---|---|---|
f32 | float | TODO |
f64 | double | TODO |
TBD | long double | TODO |
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels