This ensures correct handling of NaN. This has been tested with piglit, OpenCV, and the ocl conformance tests. llvm-svn: 233712
9 lines
149 B
C
9 lines
149 B
C
#define __CLC_BODY <clc/math/binary_decl.inc>
|
|
#define __CLC_FUNCTION fmin
|
|
|
|
#include <clc/math/gentype.inc>
|
|
|
|
#undef __CLC_BODY
|
|
#undef __CLC_FUNCTION
|
|
|