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, ±∞, 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, ±∞, 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.

Do you laugh when the waiter drops a tray full of dishes? Unix weenies do. They're the first ones to laugh at hapless users, trying to figure out an error message that doesn't have anything to do with what they just typed.
— The Unix Haters' handbook