Math/Algorithm: Fix typo

This commit is contained in:
Jérôme Leclercq 2018-01-05 15:39:56 +01:00
parent 2bef737dc6
commit 4b6d7d2e47
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ namespace Nz
{
static_assert(sizeof(T) % sizeof(UInt32) == 0, "Assertion failed");
// The algorithm for logarithm in base 2 only works with numbers greather than 32 bits
// The algorithm for logarithm in base 2 only works with numbers greater than 32 bits
// This code subdivides the biggest number into 32 bits ones
for (int i = sizeof(T)-sizeof(UInt32); i >= 0; i -= sizeof(UInt32))
{