|
|
|
|
|
by solarexplorer
4490 days ago
|
|
> rounding modes and overflow behavior are not addressed He provides a reference implementation. That means this and many other details are defined by code. Quoting dec64.asm: "Rounding is to the nearest value. Ties are rounded away from zero. Integer division is floored." > Compare the level of thought and detail in this "specification" to ... [Goldberg] I don't think this comparison is fair. David Goldberg's text is an introduction to the topic. Douglas Crockford describes an idea and gives you a reference implementation. |
|
To be fair it is extensively commented, but the comments describe what it does, not why. And for fuck's sake, hundreds of lines of assembly is not a spec, even if it is most readable code in the world