#include <math.h>float logbf(float num);double logb(double num); long double logbl(long double num);

logb( ), logbf( ), and logbl( ) functions were added by C99.

The logb( ) family of functions returns the exponent of num. This value is returned as a floating-point integer value. A domain error is possible when num is zero.

A related function is ilogb( ).

C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539 © 2008-2017.
If you may any questions please contact us: