Skip to content

Commit

Permalink
add docs for uint64 (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoorkin authored Jun 28, 2024
1 parent 7ee8eac commit 813f4b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ MoonBit have integer type and floating point type:
| `Int` | 32-bit signed integer | `42` |
| `Int64` | 64-bit signed integer | `1000L` |
| `UInt` | 32-bit unsigned integer | `14U` |
| `UInt64` | 64-bit unsigned integer | `14UL` |
| `Double` | 64-bit floating point, defined by IEEE754 | `3.14` |

MoonBit also supports numeric literals, including decimal, binary, octal, and hexadecimal numbers.
Expand Down
1 change: 1 addition & 0 deletions zh-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ MoonBit 支持整型和浮点类型:
| `Int` | 32 位有符号整数 | `42` |
| `Int64` | 64 位有符号整数 | `1000L` |
| `UInt` | 32 位无符号整数 |`14U` |
| `UInt64` | 64 位无符号整数 | `14UL` |
| `Double` | 64 位浮点数,由 IEEE754 定义 | `3.14` |

MoonBit 支持的数字字面量,包括十进制、二进制、八进制和十六进制。
Expand Down

0 comments on commit 813f4b2

Please sign in to comment.