Skip to content

Commit

Permalink
docs(types/number): fixed #270
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyf committed Apr 19, 2024
1 parent 3a7a19a commit 7070f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/types/number.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ JavaScript 内部,所有数字都是以64位浮点数形式储存,即使整

上面公式是正常情况下(指数部分在0到2047之间),一个数在 JavaScript 内部实际的表示形式。

精度最多只能到53个二进制位,这意味着,绝对值小于2的53次方的整数,即-2<sup>53</sup>到2<sup>53</sup>,都可以精确表示。
精度最多只能到53个二进制位,这意味着,绝对值小于2的53次方的整数,即-2<sup>53</sup> + 1 到 2<sup>53</sup> - 1,都可以精确表示。

```javascript
Math.pow(2, 53)
Expand Down

0 comments on commit 7070f24

Please sign in to comment.