Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

signbit - Macro to test the sign

&pagelevel(4)&pagelevel

Syntax

#include <math.h>

C11
int signbit(x); (End)

Description

x has to be an argument of type float, double or long double.

The signbit() macro determines the sign of its argument value is negative.

Return val.

1

if the signbit of x is set.


0

otherwise.

See also

math.h.