We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can an overload log(value, base) be added so we don't need to change base manually? should be something like log2(value)/log2(base)
log2(value)/log2(base)
The text was updated successfully, but these errors were encountered:
I concur, this would be very useful. System.Math has an overload for a parameter with a base: https://docs.microsoft.com/en-us/dotnet/api/system.math.log?view=net-5.0
Sorry, something went wrong.
log b (x) = log a (x) / log a (b)
public static float log(float x, float b) { float2 ln = math.log(new float2(x, b)); return ln.x / ln.y; }
Anyone here?
No branches or pull requests
Can an overload log(value, base) be added so we don't need to change base manually?
should be something like
log2(value)/log2(base)
The text was updated successfully, but these errors were encountered: