Negative Zero

Hello, is there a way of detecting negative zero in CUDA?

char Val = 0;
Val = -Val;
if (Val > 0) Out = 1;
else if (Val < 0) Out = 2;
else if (Val&0x10000000) Out = 3;
else if (Val == 0) Out = 4;

Thanks very much,
JohnW

I assume you want a float here? The char has no negative zero.