Skip to content

Commit

Permalink
Release v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed May 25, 2020
1 parent 827429a commit 2074ac9
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
History of PhysicalConstants.jl
===============================

v0.2.1 (2020-05-25)
-------------------

* Documentation available at
https://juliaphysics.github.io/PhysicalConstants.jl/stable/

v0.2.0 (2019-05-21)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PhysicalConstants"
uuid = "5ad8b20f-a522-5ce9-bfc9-ddf1d5bda6ab"
authors = ["Mosè Giordano <mose@gnu.org>"]
version = "0.2.0"
version = "0.2.1"

[deps]
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ julia> measurement(BigFloat, ħ) / (measurement(BigFloat, h) / (2 * big(pi)))
1.0 ± 0.0
```

For more information read the
[documentation](https://juliaphysics.github.io/PhysicalConstants.jl/stable/),
which includes the full list of constants defined by the package.

License
-------

Expand Down
3 changes: 0 additions & 3 deletions REQUIRE

This file was deleted.

20 changes: 10 additions & 10 deletions src/PhysicalConstants.jl
Original file line number Diff line number Diff line change
Expand Up @@ -275,20 +275,20 @@ precision can be optionally specified with the `FloatType`, `Float64` by default
```jldoctest
julia> using PhysicalConstants.CODATA2018, Measurements
julia> import PhysicalConstants.CODATA2018: h
julia> import PhysicalConstants.CODATA2018: μ_0
julia> h
Planck constant (h)
Value = 6.62607015e-34 J s
Standard uncertainty = (exact)
Relative standard uncertainty = (exact)
julia> μ_0
Vacuum magnetic permeability (μ_0)
Value = 1.25663706212e-6 N A^-2
Standard uncertainty = 1.9e-16 N A^-2
Relative standard uncertainty = 1.5e-10
Reference = CODATA 2018
julia> measurement(h)
6.62607015e-34 ± 0.0 J s
julia> measurement(μ_0)
1.25663706212e-6 ± 1.9e-16 N A^-2
julia> measurement(Float32, h)
6.62607e-34 ± 0.0 J s
julia> measurement(Float32, μ_0)
1.256637e-6 ± 1.9e-16 N A^-2
```
"""
measurement(::PhysicalConstant)
Expand Down

2 comments on commit 2074ac9

@giordano
Copy link
Member 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/15369

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.2.1 -m "<description of version>" 2074ac91e1164ad1ef306e989098d81cb6b2be18
git push origin v0.2.1

Please sign in to comment.