Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next


Extract exponent.


  double frexp(x, expnt);
   double x;
   int expnt;
  y = frexp(x, &expnt);


frexp() extracts the exponent from x. It returns an integer power of two to expnt and the significand between 0.5 and 1 to y. Thus  x = y * 2**expn.