title: Way to get floating-point special values in CUDA?
body: <p>Is there any device functions in CUDA to obtain IEEE 754 special values like inf, NaN? I mean the stable way, not by some maths ops that could be optimized-out by compilers.</p>
  
  <p>I only manage to find a device function called nan() that must take some unknown string argument.</p>