From a12703600dddf31467e1634738e4380871e3ccd6 Mon Sep 17 00:00:00 2001 From: Artem Lukin <48987557+artemetra@users.noreply.github.com> Date: Tue, 20 Dec 2022 09:56:15 +0100 Subject: [PATCH 1/2] fix comment --- include/EAStdC/EABitTricks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/EAStdC/EABitTricks.h b/include/EAStdC/EABitTricks.h index eff09cd..71b6b59 100644 --- a/include/EAStdC/EABitTricks.h +++ b/include/EAStdC/EABitTricks.h @@ -747,7 +747,7 @@ namespace StdC /// IsPowerOf2Minus1 - /// How to tell if an unsigned integer is of the form 2n-1 (e.g. 0x0fff, 0x000fffff). + /// How to tell if an unsigned integer is of the form n**2-1 (e.g. 0x0fff, 0x000fffff). /// Returns true for an input of 0. /// Example: /// 00001111 (15) -> true From 0d26669ca69659e9c44bf7c071d7973f98f5cf98 Mon Sep 17 00:00:00 2001 From: Artem Lukin <48987557+artemetra@users.noreply.github.com> Date: Tue, 20 Dec 2022 12:18:13 +0100 Subject: [PATCH 2/2] Update EABitTricks.h --- include/EAStdC/EABitTricks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/EAStdC/EABitTricks.h b/include/EAStdC/EABitTricks.h index 71b6b59..82889b8 100644 --- a/include/EAStdC/EABitTricks.h +++ b/include/EAStdC/EABitTricks.h @@ -747,7 +747,7 @@ namespace StdC /// IsPowerOf2Minus1 - /// How to tell if an unsigned integer is of the form n**2-1 (e.g. 0x0fff, 0x000fffff). + /// How to tell if an unsigned integer is of the form 2**n-1 (e.g. 0x0fff, 0x000fffff). /// Returns true for an input of 0. /// Example: /// 00001111 (15) -> true