Scilab 6.0.0
Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
However, this page did not exist in the previous stable version.
frexp
calcule la représentation en base 2 (mantisse et exposant) d'un nombre flottant.
Séquence d'appel
[f,e]=frexp(x)
Paramètres
- x
matrice ou vecteur réel
- f
matrice ou vecteur réel, habituellement dans l'intervalle 0.5 <= abs(f) < 1.
- e
matrice ou vecteur d'entiers satisfaisant l'équation: x = f.*2.^e
Description
Cette fonction correspond à la fonction ANSI C frexp(). Chaque 0
dans x
produit f=0
et
e=0
.
Exemples
[f,e]=frexp([1,%pi,-3,%eps])
Comments
Add a comment:
Please login to comment this page.