base/ct.[ch]: Fix stupid editorial error in commentary for `ct_intle'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 24 Dec 2014 17:57:53 +0000 (17:57 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 24 Dec 2014 17:57:53 +0000 (17:57 +0000)
Also, I checked through the disassembly for these functions, just to
check that GCC isn't inserting comparisons or branches where they aren't
wanted.  It isn't -- at least, not yet.

base/ct.c
base/ct.h

index ef2adeb..ffb15b0 100644 (file)
--- a/base/ct.c
+++ b/base/ct.c
@@ -60,7 +60,7 @@ int ct_inteq(uint32 x, uint32 y)
  *
  * Arguments:  @uint32 x, y@ = two 32-bit unsigned integers
  *
- * Returns:    One if %$x \le y$% are equal, zero if @x@ is greater.
+ * Returns:    One if %$x \le y$%, zero if @x@ is greater.
  *
  * Use:                Answers whether two integers are ordered, in constant time.
  */
index 00cecc0..3066e4f 100644 (file)
--- a/base/ct.h
+++ b/base/ct.h
@@ -53,7 +53,7 @@ extern int ct_inteq(uint32 /*x*/, uint32 /*y*/);
  *
  * Arguments:  @uint32 x, y@ = two 32-bit unsigned integers
  *
- * Returns:    One if %$x \le y$% are equal, zero if @x@ is greater.
+ * Returns:    One if %$x \le y$%, zero if @x@ is greater.
  *
  * Use:                Answers whether two integers are ordered, in constant time.
  */