Closed adtennant closed 2 years ago
Looks good to me. Could you add a commit that bumps the version to 0.22.7
?
@nical Done 👍
:umbrella: The latest upstream changes (presumably #493) made this pull request unmergeable. Please resolve the merge conflicts.
I'm so sorry this fell off my radar, I forgot and only remembered because bors-servo is telling me I caused a merge conflict here.
I fetched and rebased your PR in this branch of my fork: https://github.com/nical/euclid/tree/num-traits-real I can submit the PR again or you can fetch it or do the rebase (it was pretty simple to resolve).
merged in #494.
Thanks @nical. Sorry I missed the notifications over the weekend.
This allows
euclid
to be more useable with types that do not necessarily have floating-point-specific characteristics such as NaN and infinity. e.g. Fixed point types.num_traits
hasimpl<T: Float> Real for T
so existing code should continue to work.