removed outdated minmod from templates (only used by nohalo.cpp now anyway)
This commit is contained in:
parent
101b42b8c2
commit
06cee27b65
|
@ -50,16 +50,6 @@
|
||||||
*/
|
*/
|
||||||
#define FAST_PSEUDO_FLOOR(x) ( (int)(x) - ( (x) < 0. ) )
|
#define FAST_PSEUDO_FLOOR(x) ( (int)(x) - ( (x) < 0. ) )
|
||||||
|
|
||||||
/*
|
|
||||||
* 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 precomputed as far ahead
|
|
||||||
* of branching as possible.
|
|
||||||
*/
|
|
||||||
#define FAST_MINMOD(a,b,ab,abminusaa) \
|
|
||||||
( (ab)>=0. ? ( (abminusaa)>=0. ? (a) : (b) ) : 0. )
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Various casts which assume that the data is already in range. (That
|
* Various casts which assume that the data is already in range. (That
|
||||||
* is, they are to be used with monotone samplers.)
|
* is, they are to be used with monotone samplers.)
|
||||||
|
|
Loading…
Reference in New Issue