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

New version: ActuaryUtilities v3.0.0 #54983

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

JuliaRegistrator
Copy link
Contributor

The breaking change in this release is that irr will return a Yields.Rate instead of a float64. This is done for addiitonal user flexibiltiy, code safety (no more assuming a rate is a different compounding convention), and consistency across the JuliaActuary ecosystem. This change makes explicit the previsouly implicit convention.

To get the scalar float64 from a Yields.Rate type, call using Yields; rate(...)

Example:

julia> using ActuaryUtilities

julia> r = irr([-10,5,5,5])
Yields.Rate{Float64, Yields.Periodic}(0.23375192852825877, Yields.Periodic(1))

julia> using Yields

julia> rate(r)
0.23375192852825877

For more, see Yields.jl

UUID: bdd23359-8b1c-4f88-b89b-d11982a786f4
Repo: https://github.com/JuliaActuary/ActuaryUtilities.jl.git
Tree: b6fe4ae6a9a1c4df7ed70e6d135b9ee9a7f85373

Registrator tree SHA: 8e1a5ac2695627143951512d700c7e3c445102ec
JuliaRegistrator referenced this pull request in JuliaActuary/ActuaryUtilities.jl Feb 19, 2022
@JuliaRegistrator JuliaRegistrator temporarily deployed to stopwatch February 19, 2022 16:50 Inactive
@github-actions
Copy link
Contributor

Your new version pull request met all of the guidelines for auto-merging and is scheduled to be merged in the next round.


If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.

@JuliaTagBot JuliaTagBot merged commit 0180c7d into master Feb 19, 2022
@JuliaTagBot JuliaTagBot deleted the registrator/actuaryutilities/bdd23359/v3.0.0 branch February 19, 2022 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants