Skip to content

Commit

Permalink
Merge pull request #37 from cmichelenstrofer/exact_conversions
Browse files Browse the repository at this point in the history
define turn in terms of degrees
  • Loading branch information
cmichelenstrofer committed Nov 27, 2023
2 parents 638e945 + 8bb6406 commit bc8da69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/UnitfulAngles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Base: sin, cos, tan, sec, csc, cot, asin, acos, atan, asec, acsc, acot, c


######################### Angle units ############################################
@unit turn "τ" Turn 2π*rad false
@unit turn "τ" Turn 360° false
@unit doubleTurn "§" DoubleTurn 2turn false
@unit halfTurn "π" HalfTurn turn//2 false
@unit quadrant "" Quadrant turn//4 false
Expand All @@ -24,8 +24,8 @@ import Base: sin, cos, tan, sec, csc, cot, asin, acos, atan, asec, acsc, acot, c
@unit arcminute "" Arcminute °//60 false # = turn/21,600
@unit arcsecond "" Arcsecond °//3600 false # = turn/1,296,000
# enable shorthand for arcseconds: e.g., 'mas' - milliarcsecond
@unit mas "mas" Milliarcsecond arcsecond//1_000 false
@unit μas "μas" Microarcsecond arcsecond//1_000_000 false
@unit mas "mas" Milliarcsecond arcsecond//1_000 false
@unit μas "μas" Microarcsecond arcsecond//1_000_000 false
@unit pas "pas" Picoarcsecond arcsecond//1_000_000_000 false

######################### Functions ##############################################
Expand Down

2 comments on commit bc8da69

@cmichelenstrofer
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/96040

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.0 -m "<description of version>" bc8da69d7b401124494b6932bc659845b3bf9db3
git push origin v0.7.0

Please sign in to comment.