Skip to content

Add constants to Angle representing half and full turns#191

Merged
iliekturtles merged 1 commit into
iliekturtles:masterfrom
adamreichold:turns-as-angle-constants
Jun 16, 2020
Merged

Add constants to Angle representing half and full turns#191
iliekturtles merged 1 commit into
iliekturtles:masterfrom
adamreichold:turns-as-angle-constants

Conversation

@adamreichold

Copy link
Copy Markdown
Contributor

Various trigonometric computations require Angle constants of these values but as construction via Angle::new is not possible in constants, this uses fixed storage types and base units to directly construct Quantity literals to wrap the standard libraries constants for π.

Various trigonometric computations require Angle constants of these values
but as construction via Angle::new is not possible in constants, this uses
fixed storage types and base units to directly construct Quantity literals
to wrap the standard libraries constants for π.
@iliekturtles

Copy link
Copy Markdown
Owner

Thanks for the PR! I meant to review today but got tied up. Will get done tomorrow morning. There was, possibly spurious, build failure so I restarted Travis.

@iliekturtles iliekturtles merged commit 0bc0b92 into iliekturtles:master Jun 16, 2020
@iliekturtles

Copy link
Copy Markdown
Owner

Looks like the build failure is something introduced in Beta 1.45/Nightly and is unrelated to this PR so I have merged! I'm still investigating the failure and will report it upstream. Thanks again for the PR!

@adamreichold adamreichold deleted the turns-as-angle-constants branch June 16, 2020 17:32
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