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

Manual Content: log2() page's example shows subtraction, doesn't match the text before it #7687

Closed
gm-bug-reporter bot opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
docs-bug GameMaker Manual Bugs project This issue has a sample project attached

Comments

@gm-bug-reporter
Copy link

Description

The Manual mentions that in order to find the amount of bits to represent an Integer we need to add 1 to the floored log2, but the example code shows a subtraction instead.

Manual Link

https://manual.gamemaker.io/lts/en/GameMaker_Language/GML_Reference/Maths_And_Numbers/Number_Functions/log2.htm

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

5247c919-cd9e-44d8-a0ed-6ed501b6d742

@gm-bug-reporter gm-bug-reporter bot added docs-bug GameMaker Manual Bugs project This issue has a sample project attached labels Sep 18, 2024
@YYDan YYDan changed the title Manual: Log2 Example Code shows Subtraction instead of Addition Manual Content: log2() page's example shows subtraction, doesn't match the text before it Sep 18, 2024
@stuckie stuckie moved this from Triage to Backlog in Team Workload Sep 18, 2024
gurpreetsinghmatharoo added a commit to YoYoGames/GameMaker-Manual that referenced this issue Sep 19, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Workload Sep 19, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-bug GameMaker Manual Bugs project This issue has a sample project attached
Projects
Status: Ready for QA
Development

No branches or pull requests

1 participant