Share via


signbit Function (fast_math)

Determines whether the sign of _X is negative

inline int signbit(
   float _X
) restrict(amp);

Parameters

  • _X
    Floating-point value

Return Value

Returns a nonzero value if and only if the sign of _X is negative

Requirements

Header: amp_math.h

Namespace: Concurrency::fast_math

See Also

Reference

Concurrency::fast_math Namespace