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

A small correction for the GDScript.pow() #4445

Closed
1shevelov opened this issue Dec 8, 2020 · 0 comments · Fixed by godotengine/godot#44353
Closed

A small correction for the GDScript.pow() #4445

1shevelov opened this issue Dec 8, 2020 · 0 comments · Fixed by godotengine/godot#44353
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository bug

Comments

@1shevelov
Copy link

Your Godot version:
3.2.3.official.stable

Issue description:
Currently:

float pow ( float base, float exp )
Returns the result of x raised to the power of y.

Arguments' names in description ("x" and "y") and in code ("base" and "exp") are different.
Suggestion: replace "x" and "y" in description with "base" and "exp" respectively.

URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/classes/class_@gdscript.html?#class-gdscript-method-pow

@Calinou Calinou added area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository bug and removed enhancement labels Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants