tail head cat sleep
QR code linking to this page

Manual Pages  — IEEE_TEST

NAME

scalb, scalbf, significand, significandf – IEEE test functions

CONTENTS

LIBRARY

Math Library (libm, -lm)

SYNOPSIS

#include <math.h>

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 -ieee754. Their use is not otherwise recommended.

scalb(x, n) and scalbf(x, n) return x, Ns, *(2**, Ns, Fa, n) computed by exponent manipulation. If n is not an integer, &#177;∞, or an NaN, the result is unspecified.

significand(x) and significandf(x) return sig, where x := sig, No, *, 2**, Ns, Fa, n with 1 ≤ sig < 2. significand(x) and significandf(x) are not defined when x is 0, &#177;∞, or NaN.

SEE ALSO

ieee(3), math(3)

STANDARDS

-ieee754

IEEE_TEST (3) November 6, 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.

Unix is a junk OS designed by a committee of PhDs.
— Dave Cutler