Dance around CUDA's various definitions of signbit() & isfinite()