From b2542a4152809edc0fbdd0e17dd8294a51bdd5d3 Mon Sep 17 00:00:00 2001 From: Nicolas Robidoux Date: Tue, 26 May 2009 16:23:07 +0000 Subject: [PATCH] s/nohalo1 cosmetic --- libsrc/resample/nohalo1.cpp | 8 +++----- libsrc/resample/snohalo1.cpp | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/libsrc/resample/nohalo1.cpp b/libsrc/resample/nohalo1.cpp index 047c1201..d9a4b1b7 100644 --- a/libsrc/resample/nohalo1.cpp +++ b/libsrc/resample/nohalo1.cpp @@ -2,9 +2,7 @@ * * Hacked for vips by J. Cupitt, 20/1/09 * - * 16/3/09 - * - rename as nohalo1 - * - move "restrict" support to configure + * Rename as nohalo1 and move "restrict" support to configure, 16/3/09 * * Tweaks by N. Robidoux and J. Cupitt 4-17/3/09 * @@ -234,8 +232,8 @@ * FAST_MINMOD is an implementation of the minmod function which only * needs two conditional moves. (Nicolas: I think that this may be * the very first two branch minmod.) The product of the two arguments - * and a useful difference involving them are also precomputed to keep - * them out of branching way. + * and a useful difference involving them are precomputed as far ahead + * of branching as possible. */ #define FAST_MINMOD(a,b,ab,abminusaa) \ ( (ab)>=0. ? ( (abminusaa)>=0. ? (a) : (b) ) : 0. ) diff --git a/libsrc/resample/snohalo1.cpp b/libsrc/resample/snohalo1.cpp index 7d793926..e0425b39 100644 --- a/libsrc/resample/snohalo1.cpp +++ b/libsrc/resample/snohalo1.cpp @@ -76,8 +76,8 @@ * FAST_MINMOD is an implementation of the minmod function which only * needs two conditional moves. (Nicolas: I think that this may be * the very first two branch minmod.) The product of the two arguments - * and a useful difference involving them are also precomputed to keep - * them out of branching way. + * and a useful difference involving them are precomputed as far ahead + * of branching as possible. */ #define FAST_MINMOD(a,b,ab,abminusaa) \ ( (ab)>=0. ? ( (abminusaa)>=0. ? (a) : (b) ) : 0. )