Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

significandf(3M)

Name

significand, significandf, significandl - significand function

Synopsis

c99 [ flag... ] file... –lm [ library... ]
#include <math.h>

double significand(double x);
float significandf(float x);
long double significandl(long double x);

Description

If x equals sig * 2n with 1sig < 2, then these functions return sig.

Return Values

Upon successful completion, these functions return sig.

If x is either 0, ±Inf or NaN, x is returned.

Errors

No errors are defined.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Availability
system/library/math
MT-Level
MT-Safe

See Also

logb(3M), scalb(3M), attributes(7)