mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 03:34:51 +03:00
[RFC] Move some text to explicit background section.
According to new template, background is at the same level as (and before) design.
This commit is contained in:
parent
7d4198fe43
commit
aa29ce30d4
@ -27,16 +27,18 @@ every non-negative integer that fits in 8 bits also fits in 16 bits.
|
|||||||
However, the ability to convert values between different (integer) types
|
However, the ability to convert values between different (integer) types
|
||||||
is a useful feature that is normally found in programming languages.
|
is a useful feature that is normally found in programming languages.
|
||||||
|
|
||||||
## Design
|
## Background
|
||||||
|
|
||||||
### Background
|
Leo supports the following _integer types_:
|
||||||
|
|
||||||
Recall that Leo supports the following _integer types_:
|
|
||||||
```
|
```
|
||||||
u8 u16 u32 u64 u128
|
u8 u16 u32 u64 u128
|
||||||
i8 i16 i32 i64 i128
|
i8 i16 i32 i64 i128
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Those are for unsigned and signed integers of 8, 16, 32, 64, and 128 bits.
|
||||||
|
|
||||||
|
## Design
|
||||||
|
|
||||||
### Scope
|
### Scope
|
||||||
|
|
||||||
This RFC proposes type casts between any two integer types,
|
This RFC proposes type casts between any two integer types,
|
||||||
|
Loading…
Reference in New Issue
Block a user