Math h C Tutorial

Item Value
Header filemath.h
Declarationint ilogbf(float num);int ilogb(double num);int ilogbl(long double num);
Returnreturns the exponent of num.

#include 
  #include 
  int main(void)
  {
     int e;
     e = ilogbl(4);
 
     printf("%d", e);
 
  }
2