-
Notifications
You must be signed in to change notification settings - Fork 0
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
time_calc.rs #12
Comments
Cannot find logarithm functions in the Rust crates. They are needed in order to solve this, as the formula for time calculation is t = ln(A/P) / n[ln(1 + r/n)], where ln = natural logarithm |
Would a macro like this help you:
|
made some changes. trying to use it.
ln(A/P) would be log_of!(A/P, 2., usize) ? |
I think I managed to make it work. |
No description provided.
The text was updated successfully, but these errors were encountered: