lox-space / lox

Oxidized Astrodynamics
Mozilla Public License 2.0
25 stars 2 forks source link

Limit BaseTime to femtosecond precision #61

Closed AngusGMorrison closed 8 months ago

AngusGMorrison commented 8 months ago

Limits BaseTime to femtosecond precision to ensure interoperability with double-based time representations.

Additionally ensures that BaseTimes constructed with a femtosecond argument > 1 second add the excess whole seconds to the second component, setting the femtosecond field to the remainder.

codecov[bot] commented 8 months ago

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (8b8a14c) 97.78% compared to head (cf90aed) 97.79%.

Files Patch % Lines
crates/lox_py/src/time.rs 44.44% 5 Missing :warning:
crates/lox_core/src/time/continuous.rs 96.15% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #61 +/- ## ======================================= Coverage 97.78% 97.79% ======================================= Files 41 41 Lines 16688 16652 -36 ======================================= - Hits 16318 16284 -34 + Misses 370 368 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.