Merge pull request #29394 from wxy/20230208.3-️-Why-does-0.1-+-0.2-=-0.30000000000000004

R:published/20230208.3 ️ Why does 0.1 + 0.2 = 0.30000000000000004.md
This commit is contained in:
Xingyu.Wang 2023-05-16 21:10:25 +08:00 committed by GitHub
commit 969eb08aab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ $$2^{1} (1 + \frac{2^{51}}{2^{52}})$$
#### 步骤 1获取 0.1 和 0.2 的指数和尾数
我用 Python 编写了一些to 校正:这里原文加了一个 inefficient 形容词,不知道如何翻译)函数来获取正浮点数的指数和尾数:
我用 Python 编写了一些低效的函数来获取正浮点数的指数和尾数:
```
def get_exponent(f):