Skip to content

Commit

Permalink
Merge pull request #66 from linksplatform/mrMask
Browse files Browse the repository at this point in the history
Mr mask
  • Loading branch information
Konard authored Oct 6, 2020
2 parents 224f321 + 3e9b818 commit 8661bfc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions csharp/Platform.Numbers/Math.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static ulong Factorial(ulong n)
/// <para>Возвращает Каталановое число с номером указанным в качестве аргумента.</para>
/// </summary>
/// <param name="n">
/// <para>The number of Catalan number.</para>
/// <para>The number of the Catalan number.</para>
/// <para>Номер Каталанового числа.</para>
/// </param>
/// <returns>
Expand All @@ -92,12 +92,12 @@ public static ulong Catalan(ulong n)
/// <para>Проверяет является ли число степенью двойки.</para>
/// </summary>
/// <param name="x">
/// <para>Number to check.</para>
/// <para>The number to check.</para>
/// <para>Число для проверки.</para>
/// </param>
/// <returns>
/// <para>True or False.</para>
/// <para>True или False.</para>
/// <para>True if the number is a power of two otherwise false.</para>
/// <para>True, если число является степенью двойки, иначе - false.</para>
/// </returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool IsPowerOfTwo(ulong x) => (x & x - 1) == 0;
Expand All @@ -115,7 +115,7 @@ public static ulong Catalan(ulong n)
/// <para>Число от которого необходимо взять абсолютное значение.</para>
/// </param>
/// <returns>
/// <para>The absolute value of a number.</para>
/// <para>The absolute value of the number.</para>
/// <para>Абсолютное значение числа.</para>
/// </returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
Expand All @@ -134,7 +134,7 @@ public static ulong Catalan(ulong n)
/// <para>Число которое нужно сделать отрицательным.</para>
/// </param>
/// <returns>
/// <para>Negative number.</para>
/// <para>A negative number.</para>
/// <para>Отрицательное число.</para>
/// </returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
Expand Down

0 comments on commit 8661bfc

Please sign in to comment.