Skip to content

Improve precision of Instant::elapsed_since - #29

Merged
cyypherus merged 1 commit into
cyypherus:mainfrom
edwloef:as-secs-f32
Jul 21, 2026
Merged

Improve precision of Instant::elapsed_since#29
cyypherus merged 1 commit into
cyypherus:mainfrom
edwloef:as-secs-f32

Conversation

@edwloef

@edwloef edwloef commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

I was hitting precision issues where interpolating an animation under 1ms in would just produce the original value. Turns out this was the root cause.

@edwloef

edwloef commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

The clippy failure is unrelated I think, and was probably introduced with rust-lang/rust#118833.

@cyypherus cyypherus left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cyypherus
cyypherus merged commit 8e82dc2 into cyypherus:main Jul 21, 2026
3 of 4 checks passed
@edwloef

edwloef commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Is there any chance of a coming 0.8.2 release including this change? :)

@cyypherus

Copy link
Copy Markdown
Owner

That's published, thanks for the reminder 🤗

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.

2 participants