itwanger / itwanger/toBeBetterJavaer
docs/src/sidebar/sanfene/javase.md 浮点数转换示例计算及配图错误
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
面渣JavaSE,第十五题,详细计算校对:
整数部分:25 转换为二进制是 11001(正确)
小数部分:0.125 转换为二进制是 0.001(正确)
合并结果:11001.001
科学计数法:小数点左移4位,应为 $1.1001001 \times 2^4$
错误点:
文档中目前展示的结果似乎漏掉了小数点后的第一个 1,写成了 $1.001001$。
因此,尾数部分的存储位也少了一位,导致图中对应的第19位应修改为 1。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open docs/src/sidebar/sanfene/javase.md and locate the JavaSE question 15 floating-point conversion example. Verify the binary conversion and scientific-notation calculation against the issue, then correct the displayed mantissa and the accompanying figure’s 19th bit. Render or preview the documentation to confirm the formula and image are consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100