chiark / gitweb /
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 ef2adeb62929c8e421b60bbc72edcff9017c27bb..ffb15b09a3ad02323e64973bc1fb059519e465ff 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
  *
  *
  * 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.
  */
  *
  * Use:                Answers whether two integers are ordered, in constant time.
  */
index 00cecc0732ceabf31c2c4de2806c953a664c2ce7..3066e4f2cb772e6ccaa0cc91b42e00f8a663a498 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
  *
  *
  * 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.
  */
  *
  * Use:                Answers whether two integers are ordered, in constant time.
  */