Solution to the gcc error: undefined reference to `ilogb’ (C/C++)

The ilogb( ) functions return the exponent of their floating-point argument as a signed integer. If the argument is not normalized, ilogb( ) returns the exponent of its normalized value. Here’s simple program that uses ilogb()

  Now, if You use this function and get the following gcc linker error: undefined reference to `ilogb’ […]

Read More