Source/NFX/IntMath.cs
/// <summary>
/// Returns argument increased to the nearest number divisible by 16
/// </summary>
Returns argument increased to the nearest number divisible by 16
Returns argument increased to the nearest number divisible by 16
public static int Align16(int i)
        {
          var r = i & 15;
          return r==0 ? i : i + (16 - r);
        }
public static int Align16 ( int i ) { var r = i & 15 ; return r == 0 ? i : i + ( 16 - r ) ; }
Returns argument increased to the nearest number divisible by 16
Returns argument increased to the nearest number divisible by 16
// 00001111
i
int