docs(book): std number #655
Loading…
Reference in a new issue
No description provided.
Delete branch "loop/639-std-number"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #639
Summary
Adds
book/std/number.md(kindpage,status: stable, packagestd/number): integers of every width, checked and wrapping arithmetic, conversions and parsing, floats andisCloseTo,Real, exactDecimalwithRounding, bit operators andByteSize.book/std/index.mdlists it through the generated block. No other book page changes.docs/standard-library/number.mdis kept and stays unpublished: the skilltorbscript-standard-librarystill carriesdocs/standard-library/(skills/torbscript-standard-library/references/standard-library/number.mdis generated from it), as with the merged json/fs pages and open PR #654.How verified
trb runblocks were run with torb and diffed against theiroutputblocks: 0 differ.torb docs check book --no-native: 43 pages, 250 snippets, no problems.torb docs index --check book: all indexes up to date.torb docs site book --check: no broken link.torb docs skill docs skills --check: all up to date.tools/check-commits.sh origin/main HEAD: Conventional Commits.Caveat: the host has no C compiler, so
--no-nativeskipped building thetrb runblocks. Output equality was checked by running the examples in the VM; the native build comparison is left to forge CI.Not mergeable on
77d7dbe: rebase onto main; no other blockers (main added Core types and Prelude to the generated block in book/std/index.md, so regenerate it withtorb docs index book). Non-blocking: in book/std/number.md the sentence "The first twoin a program:" before the shift example is a dangling fragment.
77d7dbe1b6dfd65b1579Rebased onto main (
42fcc8d5) and pusheddfd65b1. The generated block inbook/std/index.mdnow lists Core types, Numbers and The prelude (torb docs index book,--check: 8 indexes up to date). Fixed the dangling sentence before the shift example.torb docs site book --checkandtorb docs skill docs skills --checkpass; commit check OK.torb docs checkcould not be run meaningfully here: the locally installed nightly is older than main and rejects the front matter of every page; left to forge CI.Approved at
dfd65b1(re-review after rebase; my earlier note is addressed).outputblocks; the checks listed in the PR body (docs index/site/skill) are covered by gates. Dangling sentence before the shift example is fixed.book/std/number.mdand the generated block inbook/std/index.md;docs/standard-library/number.mdis kept and the PR names the reason (skill still generated from it).Non-blocking: the PR body notes the native build of the
trb runblocks was not run locally; CI gates cover it and are green.