Skip to main content

  | मौसम…

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

411 REFERENCE · Wikibooks

C programming/math.h/frexp

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

frexp() We used frexp() in mathematical purpose.The frexp() is function which break the floating point value into two part. First in mantissa and second in exponent.We can express x as floating point value, m as mantissa and n as exponent. In frexp(), the range of mantissa is always between 0.5 to 1. Format double frexp(double x, int *exppr); float frexpf(float x, int *exppr); long double frexpl(long double x, int *exppr); Return value The frexp() function return mantissa.The exppr pointed to the location where exponent is stored. x=mantissa*2exponent References Title frexp frexp()-c reference deep