Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Programming/Code/Standard C Library/Functions/modf

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

modf #include <cmath> double modf( double num, double *i ); The function modf() splits num into its integer and fraction parts. It returns the fractional part and loads the integer part into i. Related topics frexp - ldexp