Skip to content

Timestamp to duration truncation#171

Merged
h4tr3d merged 2 commits intomasterfrom
timestamp_to_duration_truncation
Mar 11, 2026
Merged

Timestamp to duration truncation#171
h4tr3d merged 2 commits intomasterfrom
timestamp_to_duration_truncation

Conversation

@h4tr3d
Copy link
Owner

@h4tr3d h4tr3d commented Mar 11, 2026

No description provided.

h4tr3d added 2 commits March 4, 2026 15:19
Fix both: construction and toDuration() conversion.

Due to possible precision lost on construction from floating point
chrono::duration, av::Timestamp contructors splits for integral and
floating point. For the floating point chrono::duration's user must
provide required precision.

Fix #169
@h4tr3d h4tr3d merged commit b56c4fd into master Mar 11, 2026
11 checks passed
@h4tr3d h4tr3d deleted the timestamp_to_duration_truncation branch March 11, 2026 12:31
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