Skip to content

feat: add limit_float method to all Vector3 types, make FLT64_ZERO dy…#43

Merged
Treagzhao merged 1 commit into
masterfrom
feature/limit-float
May 19, 2026
Merged

feat: add limit_float method to all Vector3 types, make FLT64_ZERO dy…#43
Treagzhao merged 1 commit into
masterfrom
feature/limit-float

Conversation

@Treagzhao

Copy link
Copy Markdown
Owner

…namically configurable

  • Add limit_float method to all 14 physical quantity Vector3 types
  • limit_float clamps absolute value of each component to threshold, preserving sign
  • Full test coverage for all unit variants (61 total)
  • Change FLT64_ZERO from const to RwLock-based get/set API
  • Expose get_flt64_zero/set_flt64_zero via zmatrix root re-export
  • Bump version to 0.2.29

…namically configurable

- Add limit_float method to all 14 physical quantity Vector3 types
- limit_float clamps absolute value of each component to threshold, preserving sign
- Full test coverage for all unit variants (61 total)
- Change FLT64_ZERO from const to RwLock-based get/set API
- Expose get_flt64_zero/set_flt64_zero via zmatrix root re-export
- Bump version to 0.2.29

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@codecov

codecov Bot commented May 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.65%. Comparing base (9532031) to head (6f41b72).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
- Coverage   99.65%   99.65%   -0.01%     
==========================================
  Files          45       46       +1     
  Lines       17264    18030     +766     
==========================================
+ Hits        17205    17968     +763     
- Misses         59       62       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Treagzhao
Treagzhao merged commit 6ed4e0e into master May 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant