bend-float64@0.1.0.0 checks
0x5e4ec5f83c49f1ba83173982c77069c4
bend-float64: IEEE 754 float64 in pure Bend, correctly rounded, with x86-64's bits (NaNs included).
bend-float64@0.1.0.0 by tjpa
Other versions (8)
- bend-float64@0.1.8.0 2026-11-13 latest
- bend-float64@0.1.7.0 2026-11-13
- bend-float64@0.1.6.0 2026-11-13
- bend-float64@0.1.5.0 2026-11-13
- bend-float64@0.1.4.0 2026-11-13
- bend-float64@0.1.3.0 2026-11-13
- bend-float64@0.1.2.0 2026-11-13
- bend-float64@0.1.1.0 2026-11-13
- Published
- 2026-11-13
- Size
- 62,992 bytes, 6 files
- License
- MIT-0 (no LICENSE file; the hub's default)
- Declarations
- 20 laws (20 proved), 186 defs, 8 types
Import
import bend-float64@0.1.0.0/LAWS.bend as LAWS import 0x5e4ec5f83c49f1ba83173982c77069c4/LAWS.bend as LAWS import bend-float64@0.1.0.0/PROOF.bend as PROOF import 0x5e4ec5f83c49f1ba83173982c77069c4/PROOF.bend as PROOF import bend-float64@0.1.0.0/float64.bend as Float64 import 0x5e4ec5f83c49f1ba83173982c77069c4/float64.bend as Float64 import bend-float64@0.1.0.0/package.bend as Package import 0x5e4ec5f83c49f1ba83173982c77069c4/package.bend as Package import bend-float64@0.1.0.0/wide.bend as Wide import 0x5e4ec5f83c49f1ba83173982c77069c4/wide.bend as Wide
Modules
- LAWS.bend 20 declarations, 20 laws — The laws of bend-float64. Where a NaN goes is proved for every input (the decision: x86's bits exactly). Correct
- PROOF.bend 31 declarations — Proofs of LAWS.bend. The NaN laws hold for every input: each operation tests is_nan before anything else, so the
- float64.bend 134 declarations — bend-float64: IEEE 754 binary64 ("double", NumPy's float64) in pure Bend, as two U32 words and integer arithmetic.
- package.bend 0 declarations — bend-float64: IEEE 754 float64 in pure Bend, correctly rounded, with x86-64's bits (NaNs included).
- wide.bend 46 declarations — bend-float64's integers wider than a word: unsigned 64-bit (two U32 words, W64) and 128-bit (two W64, W128)
Other files
- README.md 5,203 bytes
Dependencies
No imports from other hub packages.
Dependents
No package in this build imports it.
Status on bend 2.0.40
| File | Status | Checker says | Time |
|---|---|---|---|
| LAWS.bend | open laws/TODOs | 20 TODOs found. Checked alone, a law without a def is a TODO; all of them are proved in files that check, so the package counts this file as checks. outputSOME PROOFS FAIL Error: 20 TODOs found. The code is incomplete, and not a valid proof yet. | 0.5 s |
| PROOF.bend | checks | ALL PROOFS CHECK | 15.4 s |
| float64.bend | checks | ALL PROOFS CHECK | 0.5 s |
| package.bend | checks | ALL PROOFS CHECK | 15.9 s |
| wide.bend | checks | ALL PROOFS CHECK | 0.5 s |