libdevice User's Guide (PDF) - CUDA Toolkit v5.5 for POWER8 (older) - Last updated October 16, 2014 - Send Feedback

3.270. __nv_signbitf

Prototype:

i32 @__nv_signbitf(float %x) 

Description:

Determine whether the floating-point value x is negative.

Returns:

Returns a nonzero value if and only if x is negative. Reports the sign bit of all values including infinities, zeros, and NaNs.

Library Availability:

Compute 2.0: Yes

Compute 3.0: Yes

Compute 3.5: Yes


libdevice User's Guide (PDF) - CUDA Toolkit v5.5 for POWER8 (older) - Last updated October 16, 2014 - Send Feedback