# scalb(3) [netbsd man page]

```IEEE_TEST(3)						   BSD Library Functions Manual 					      IEEE_TEST(3)

NAME
logb, logbf, logbl, scalb, scalbf, significand, significandf -- IEEE test functions

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

double
logb(double x);

float
logbf(float x);

long double
logbl(long double x);

double
scalb(double x, double n);

float
scalbf(float x, float n);

double
significand(double x);

float
significandf(float x);

DESCRIPTION
These functions allow users to test conformance to IEEE Std 754-1985.  Their use is not otherwise recommended.

logb(x) returns x's exponent n, a signed integer converted to double-precision floating-point.  logb(+-infinity) = +infinity; logb(0) =
-infinity with a division by zero exception.

scalbn(x, n) returns x*(2**n) computed by exponent manipulation.

significand(x) returns sig, where x := sig * 2**n with 1 <= sig < 2.  significand(x) is not defined when x is 0, +-infinity, or NaN.

math(3)

STANDARDS
IEEE Std 754-1985

BSD								  August 3, 2011							       BSD```

## Check Out this Related Man Page

```ILOGB(3)						   BSD Library Functions Manual 						  ILOGB(3)

NAME
ilogb, ilogbf, ilogbl, logb, logbf, logbl -- extract exponent

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

int
ilogb(double x);

int
ilogbf(float x);

int
ilogbl(long double x);

double
logb(double x);

float
logbf(float x);

long double
logbl(long double x);

DESCRIPTION
ilogb(), ilogbf() and ilogbl() return x's exponent in integer format.  ilogb(+-infinity) returns INT_MAX, ilogb(+-NaN) returns FP_ILOGBNAN,
and ilogb(0) returns FP_ILOGB0.

logb(x), logbf(x), and logbl(x) return x's exponent in floating-point format with the same precision as x.  logb(+-infinity) returns +infin-
ity, and logb(0) returns -infinity with a division by zero exception.

frexp(3), ieee(3), math(3), scalbn(3)

STANDARDS
The ilogb(), ilogbf(), ilogbl(), logb(), logbf(), and logbl() routines conform to ISO/IEC 9899:1999 (``ISO C99'').  The latter three imple-
ment the logb function recommended by IEEE Std 754-1985.

HISTORY
Function	First Appeared In
logb()	4.3BSD
ilogb()	FreeBSD 1.1.5
ilogbf()	FreeBSD 2.0
logbf()	FreeBSD 2.0
ilogbl()	FreeBSD 5.4
logbl()	FreeBSD 8.0

BSD								 December 16, 2007							       BSD```
Man Page

## 1. AIX

hello I need for a script to capture the ip address from the connected user. I have 5 logical partitions. With "who", i have the ip adress, but only for 2 servers. Do you know another command to know the ip address of connected clients ? thank you

## size of directory with ls -l

hello When i do a "ls -l" in a directory (Aix 5.3), i have the result : >ls -l total 65635864 -rw-r--r-- 1 lobi system 2559909888 Feb 20 15:06 cible5.7bdat -rw-r--r-- 1 lobi system 1020098870 Feb 20 13:06 cible6.7bdat -rw-r--r-- 1 lobi system 1544789511 Feb 20 11:06 cible9.7bdat -rw-r--r--...

## add a hdiskpower in a vg

good morning I want to add a new emc disk in a vg (it is not a big volume group) but when i do it, i have the message: 0516-1162 /usr/sbin/extendvg: Warning, The Physical Partition Size of 64 requires the creation of 3200 partitions for hdiskpower48. The limitation for volume vg01 is 3048...

## SOAP Client..!

Hi, Can anybody provide me a simple SOAP client in C/C++ ..? Thanks in advance....!!

## dump -Tv

Hi guys, i need some help to debbug a problem related to an executable file. We I try to run it, it returns a problem related to a library (/usr/lib/libc.a(shr.o)), and when I'm not confident reading the output from dump -Tv. ./xxxxx exec(): 0509-036 Cannot load program ./xxxxx because of...

## Perl:: mass replacement of converting C code formats to tgmath.h

hello, i have a lot of C old code I'm updating to C11 with tgmath.h for generic math. the old code has very specific types, real and complex, like cabsl, csinhl, etc usually for simple bulk replacements i would do something simple like this perl -pi -e 's/cosl/cos/g' *.c the reference...