Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose y-coordinate in AffineCoordinates too #1307

Closed
ia0 opened this issue May 10, 2023 · 1 comment
Closed

Expose y-coordinate in AffineCoordinates too #1307

ia0 opened this issue May 10, 2023 · 1 comment

Comments

@ia0
Copy link

ia0 commented May 10, 2023

I'm not sure why trait AffineCoordinates doesn't also have an fn y(&self) -> Self::FieldRepr similarly as for the x-coordinate. In particular given that's how it is stored in struct AffinePoint.

Would it be possible to also add such a method? Possibly as a provided method (and computed from x() and y_is_odd()). The AffinePoint implementation may explicitly implement it to avoid round-tripping.

@tarcieri
Copy link
Member

Dup of #1019

@tarcieri tarcieri closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2023
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

No branches or pull requests

2 participants