mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Define and use limit constants for Irrlicht fixed-width types
This commit is contained in:
@@ -282,7 +282,7 @@ void TestUtilities::testIsPowerOfTwo()
|
||||
UASSERT(is_power_of_two((1 << exponent)) == true);
|
||||
UASSERT(is_power_of_two((1 << exponent) + 1) == false);
|
||||
}
|
||||
UASSERT(is_power_of_two((u32)-1) == false);
|
||||
UASSERT(is_power_of_two(U32_MAX) == false);
|
||||
}
|
||||
|
||||
void TestUtilities::testMyround()
|
||||
|
Reference in New Issue
Block a user