Gentee Programming Language > Documentation > Libraries Download documentation

modf

Splitting into whole and fractional parts.
 
double modf(
      double   x,
      uint   y
)

Parameters

xFloating-point value.
yA pointer to double for getting the whole part.

Return value

The fractional part of x.

See also

    Mathematical functions


 Copyright © 2004-2006 Gentee Inc. All rights reserved.