Namespaces
Variants
Actions

std::signbit

From cppreference.com
< cpp‎ | numeric‎ | math
 
 
 
 
Defined in header <cmath>
(1)
bool signbit( float num );

bool signbit( double num );

bool signbit( long double num );
(since C++11)
(until C++23)
constexpr bool signbit( /*floating-point-type*/ num );
(since C++23)
SIMD overload (since C++26)
Defined in header <simd>
template< /*math-floating-point*/ V >

constexpr typename /*deduced-simd-t*/<V>::mask_type

  signbit ( const V& v_num );
(S) (since C++26)