| Main index | Section 3 | Options |
#include <math.h>
logb(x), logbf(x), and logbl(x) return x, Ns, 's, exponent in floating-point format with the same precision as x. logb(±∞) returns +∞, and logb() returns -∞ with a division by zero exception.
| Function | First Appeared In |
| logb() | |
| BSD 4.3 | |
| ilogb() | |
| FreeBSD 1.1.5 | |
| ilogbf() | |
| FreeBSD 2.0 | |
| logbf() | |
| FreeBSD 2.0 | |
| ilogbl() | |
| FreeBSD 5.4 | |
| logbl() | |
| FreeBSD 8.0 | |
| ILOGB (3) | December 16, 2007 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps. | ” |
| — The Unix Haters' handbook | ||