You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- For native floating-point processors there is no particular reason to align with byte segments since the circuit is designed specifically to the sizes of the bit fields. For the Z80 library it has to adapt to an 8-bit processor.JacquesB– JacquesB2025-02-27 23:35:24 +00:00Commented Feb 27 at 23:35
- 2I don't think it is feasible to have a FPU without at least 32 bit registers, and it would be trivial for the execution unit(s) to shuffle bits around. I do not see the bus or memory system making any difference, it just needs to move bits around, it would not care what they represent. All the bits needs to be in the register before doing anything anyway. And if you can afford a FPU it makes little sense to couple it to a 8 bit integer unit.JonasH– JonasH2025-02-28 09:06:59 +00:00Commented Feb 28 at 9:06
- 1This question was closed for being "opinion-based", but I don't think this was right; the last paragraph has three questions answerable by factual answers, even if those answers are "no; irrelevant; no because FPUs both at the time and since then have never needed byte-level alignment"petroleus– petroleus2025-03-03 00:30:28 +00:00Commented Mar 3 at 0:30
- 1@petroleus you say that the question isn't opinion-based because the answers can just be "no", but I wrote an answer exactly like that and you complained that you found it unconvincing, so clearly "no" wasn't an adequate answer after all.Useless– Useless2025-03-27 19:17:10 +00:00Commented Mar 27 at 19:17
- 3The other interesting facet of the IEEE-754 bit ordering is that they make the values monotonically ordered when interpreted as raw bit patterns. The exponent is more significant than the significand, and the sign bit is most significant of all. If you take two floating-point values, and as long as they're both positive, if you compare their bit patterns as unsigned integers rather than floating point values, you'll still get the right answer. Zero is less than the subnormals are less than the normals are less than Infinity is less than the NaNs.Steve Summit– Steve Summit2025-04-07 12:26:59 +00:00Commented Apr 7 at 12:26
| Show 6 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you