Comparing floats

Sep 25, 2011 at 8:45pm
Does anything appear wrong with the statement

if(floatA>floatB)return;

I keep getting an error:
CUDALink has experienced an internal error

The code is in c++, it is just interfacing with CUDA and Mathematica.
Sep 25, 2011 at 8:58pm
Assuming floatA and floatB are both floats, there is nothing wrong with that statement.
Topic archived. No new replies allowed.