Skip to content

Commit

Permalink
Use mpfr_const_log2 (#9)
Browse files Browse the repository at this point in the history
* Use `mpfr_const_log2`

* Bump version

* `const_log10` does not exist....

* Fix stupid error
  • Loading branch information
devmotion authored Oct 12, 2021
1 parent 20348a2 commit d226b95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "IrrationalConstants"
uuid = "92d709cd-6900-40b7-9082-c6be49f344b6"
authors = ["JuliaMath"]
version = "0.1.0"
version = "0.1.1"

[compat]
julia = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/stats.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@irrational invsqrt2π 0.3989422804014326779 inv(sqrt(2 * big(π)))

@irrational loghalf -0.6931471805599453094 log(inv(big(2)))
@irrational logtwo 0.6931471805599453094 log(big(2))
@irrational logtwo 0.6931471805599453094 log2
@irrational logten 2.302585092994046 log(big(10))
@irrational logπ 1.1447298858494001741 log(big(π))
@irrational log2π 1.8378770664093454836 log(2 * big(π))
Expand Down

2 comments on commit d226b95

@devmotion
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/46594

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.1.1 -m "<description of version>" d226b95de14e878c150db02bacdd136c32b6dd17
git push origin v0.1.1

Please sign in to comment.