Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab Help >> Elementary Functions > Floating point > frexp


dissect floating-point numbers into base 2 exponent and mantissa





real vector or matrix


array of real values, usually in the range 0.5 <= abs(f) < 1.


array of integers that satisfy the equation: x= f.*2.^e


This function corresponds to the ANSI C function frexp(). Any zeros in x produce f=0 and e=0.



See also

  • log — natural logarithm
  • hat — (^) exponentiation
  • ieee — sets or gets the floating point exception mode
  • log2 — base 2 logarithm
Report an issue
<< format Floating point ieee >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:26:47 CET 2018