Namespaces
Variants

std::ilogb, std::ilogbf, std::ilogbl

From cppreference.com
 
 
 
Common mathematical functions
 
Defined in header <cmath>
(1)
int ilogb ( float num );
int ilogb ( double num );
int ilogb ( long double num );
(since C++11)
(until C++23)
constexpr int ilogb( /* floating-point-type */ num );
(since C++23)
int ilogbf( float num );
(2) (since C++11)
(constexpr since C++23)
int ilogbl( long double num );
(3) (since C++11)
(constexpr since C++23)
#define FP_ILOGB0   /* implementation-defined */
(4) (since C++11)
#define FP_ILOGBNAN /* implementation-defined */
(5) (since C++11)
Defined in header <cmath>