tail head cat sleep
QR code linking to this page

Manual Pages  — SCALBN

NAME

scalbln, scalblnf, scalblnl, scalbn, scalbnf, scalbnl – adjust exponent

CONTENTS

LIBRARY

Math Library (libm, -lm)

SYNOPSIS

#include <math.h>

double
scalbln(double x, long n);

float
scalblnf(float x, long n);

long double
scalblnl(long double x, long n);

double
scalbn(double x, int n);

float
scalbnf(float x, int n);

long double
scalbnl(long double x, int n);

DESCRIPTION

These routines return x, Ns, *(2**, Ns, Fa, n) computed by exponent manipulation.

SEE ALSO

ieee(3), math(3)

STANDARDS

These routines conform to ISO/IEC 9899:1999 ("ISO C99"), and they implement the Scalb function recommended by -ieee754.

HISTORY

The scalbn() and scalbnf() functions appeared in BSD 4.3 and FreeBSD 2.0, respectively. The scalbln() and scalblnf() functions first appeared in FreeBSD 5.3, and scalblnl() and scalbln() in FreeBSD 6.0 .

SCALBN (3) March 4, 2005

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology.
— The Unix Haters' handbook