Go to the first, previous, next, last section, table of contents.


modf

Syntax

#include <math.h>

double modf(double x, double *pint);

Description

modf breaks down x into its integer portion (which it stores in *pint) and the remaining fractional portion, which it returns.

Return Value

The fractional portion.

Portability

ANSI, POSIX


Go to the first, previous, next, last section, table of contents.