From c4377d0e42d4d0e3e9781f9d9a8c1a499222aafe Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 24 Dec 2014 17:57:53 +0000 Subject: [PATCH] base/ct.[ch]: Fix stupid editorial error in commentary for `ct_intle'. 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 | 2 +- base/ct.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/ct.c b/base/ct.c index ef2adeb6..ffb15b09 100644 --- 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. */ diff --git a/base/ct.h b/base/ct.h index 00cecc07..3066e4f2 100644 --- 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. */ -- 2.11.0