Skip to content

Commit

Permalink
Merge pull request #310 from moonbitlang/fix-table
Browse files Browse the repository at this point in the history
fix: proper bar for markdown table
  • Loading branch information
qazxcdswe123 authored Sep 30, 2024
2 parents 615569d + 008910d commit 9495f3b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions moonbit-docs/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,15 +678,15 @@ let e = not(a)

MoonBit have integer type and floating point type:

| type | description | example |
| -------- | ------------------------------------------------------------------------------- | ------- |
| `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` |
| `Float` | 32-bit floating point `(3.14 : Float)` |
| `BigInt` | represents numeric values larger than other types `10000000000000000000000N` |
| type | description | example |
| -------- | ------------------------------------------------- | -------------------------- |
| `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` |
| `Float` | 32-bit floating point | `(3.14 : Float)` |
| `BigInt` | represents numeric values larger than other types | `10000000000000000000000N` |

MoonBit also supports numeric literals, including decimal, binary, octal, and hexadecimal numbers.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -658,15 +658,15 @@ let e = not(a)

MoonBit 支持整型和浮点类型:

| 类型 | 描述 | 例子 |
| -------- | ---------------------------------------------- | ------- |
| `Int` | 32 位有符号整数 | `42` |
| `Int64` | 64 位有符号整数 | `1000L` |
| `UInt` | 32 位无符号整数 | `14U` |
| `UInt64` | 64 位无符号整数 | `14UL` |
| `Double` | 64 位浮点数,由 IEEE754 定义 | `3.14` |
| `Float` | 32 位单精度浮点数 `(3.14 : Float)` |
| `BigInt` | 表示任意大的整数 `10000000000000000000000N` |
| 类型 | 描述 | 例子 |
| -------- | ---------------------------- | -------------------------- |
| `Int` | 32 位有符号整数 | `42` |
| `Int64` | 64 位有符号整数 | `1000L` |
| `UInt` | 32 位无符号整数 | `14U` |
| `UInt64` | 64 位无符号整数 | `14UL` |
| `Double` | 64 位浮点数,由 IEEE754 定义 | `3.14` |
| `Float` | 32 位单精度浮点数 | `(3.14 : Float)` |
| `BigInt` | 表示任意大的整数 | `10000000000000000000000N` |

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

Expand Down

0 comments on commit 9495f3b

Please sign in to comment.