fixed comment some more

This commit is contained in:
Nicolas Robidoux 2009-03-16 09:33:10 +00:00
parent 28850412d1
commit 1e9233141c

View File

@ -237,11 +237,10 @@
/* /*
* FAST_MINMOD is an implementation of the minmod function which only * FAST_MINMOD is an implementation of the minmod function which only
* needs two conditional moves. (Most implementations need at least * needs two conditional moves. (Nicolas: I think that this may be
* three branches.) The product of the two arguments and a useful * the very first two branch minmod.) The product of the two arguments
* difference involving them are also precomputed to keep them out of * and a useful difference involving them are also precomputed to keep
* branching way. (Nicolas: I think that this may be the first two * them out of branching way.
* branch minmod.)
*/ */
#define FAST_MINMOD(a,b,ab,abminusaa) \ #define FAST_MINMOD(a,b,ab,abminusaa) \
( (ab)>=0. ? ( (abminusaa)>=0. ? (a) : (b) ) : 0. ) ( (ab)>=0. ? ( (abminusaa)>=0. ? (a) : (b) ) : 0. )