Repository navigation
v0.1.0-alpha.4 (Sprint 3: Phase 3 Arithmetic & Set 1 Math)
Pre-release
Pre-release
·
13 commits
to master
since this release
Sprint 3 pre-release (v0.1.0-alpha.4 / Phase 3 arithmetic + Set 1 elementary math + strict Clippy CI).
Highlights
- Implemented
src/arithmetic.rs(US-09 & US-10, 0unsafe):- Binary floating arithmetic
OP1ops:ADD,SUB,ADDAB,ABADD,SUBAB,ABSUB,MPY,NGMPY,DIV,NGDIV - SpeedCo I manual semantics (Sec. 3-3..3-4): exact cancellation exponent preservation without shifting,
> 76decimal exponent difference rejection (ExponentDifferenceTooLarge), sub-half product doubling (|Fa*Fb| < 0.5->exponent - 1), 35-bit unrounded add/sub/multiply truncation, 35-bit rounded quotient, andDivideCheckstop on zero divisor - Set 1 elementary mathematical functions (
SQRT,SINE,ARTAN,EXP,LN) matching SpeedCo I Appendices 1–2 accuracy guarantees and edge quirks (SQRTnegative/zeroF -> ceil(E/2),SINEzero/largen -> +7,LNnegativeF -> |F|and zeroF -> 1/2)
- Binary floating arithmetic
- Resolved Clippy & CI Hardening: Enabled
cargo clippy --all-targets -- -D warningson Linux CI (addedimpl std::ops::Neg for SpeedFloatwhile keeping.neg()) and enabledphase_3_arithmetic_mathDebug & Release test execution. - Verified in Linux CI (Run
#44948301907):37passing tests (32/66TDD +5/5benchmarks):10/10phase_3_arithmetic_math,10/10phase_2_parser,11/11phase_1_core_types,5/5bench_speedcoding(Debug & Release),1/1src/lib.rs,0Clippy/compiler/rustdoc warnings. - Assets (
x86_64-pc-windows-msvcRelease):speedcoding.exe,libspeedcoding.rlib,LICENSE-MIT,LICENSE-APACHE,NOTICE, andSHA256SUMS.txt(excludes102632810-05-01-acc.pdf).