Share via


signbit Function

Determines whether the sign of _X is negative

inline int signbit(
   float _X
) restrict(amp);
inline int signbit(
   double _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::precise_math

See Also

Reference

Concurrency::precise_math Namespace