-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit-Safe Implementation of
std::hypot
(#384)
## Summary Implements a unit-safe version of `std::hypot` within the AU library. This implementation ensures dimensional consistency when calculating the hypotenuse/Euclidean norm while preserving the underlying units. ## Implementation Details - Extends the existing AU library with a unit-safe wrapper around `std::hypot` - Maintains dimensional analysis correctness throughout calculations - Returns results in the common unit and underlying representation as the input parameters Related to #383 --------- Co-authored-by: Chip Hogg <[email protected]>
- Loading branch information
1 parent
4543859
commit 11fe374
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters