You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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
The text was updated successfully, but these errors were encountered: