.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993, David Metcalfe .\" Copyright, the authors of the Linux man-pages project .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH frexp 3 "8 février 2026" "Pages du manuel de Linux 6.18" .SH NOM frexp, frexpf, frexpl \- Conversion de réel en fraction normalisée .SH BIBLIOTHÈQUE Bibliothèque de math (\fIlibm\fP,\ \fI\-lm\fP) .SH SYNOPSIS .nf \fB#include \fP .P \fBdouble frexp(double \fP\fIx\fP\fB, int *\fP\fIe\fP\fB);\fP \fBfloat frexpf(float \fP\fIx\fP\fB, int *\fP\fIe\fP\fB);\fP \fBlong double frexpl(long double \fP\fIx\fP\fB, int *\fP\fIe\fP\fB);\fP .fi .P .RS -4 Exigences de macros de test de fonctionnalités pour la glibc (consulter \fBfeature_test_macros\fP(7)) : .RE .P \fBfrexpf\fP(), \fBfrexpl\fP() : .nf _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Depuis la glibc 2.19 : */ _DEFAULT_SOURCE || /* glibc <= 2.19 : */ _BSD_SOURCE || _SVID_SOURCE .fi .SH DESCRIPTION These functions are used to split the number \fIx\fP into a normalized fraction and an exponent which is stored in \fIe\fP. .SH "VALEUR RENVOYÉE" Ces fonctions renvoient la fraction normalisée. Si l'argument \fIx\fP est non nul, la fraction normalisée est \fIx\fP multiplié par une puissance de deux et sa valeur absolue est comprise dans l'intervalle 1/2 (inclus) et 1 (exclu), c'est\-à\-dire [0,5\-1]. .P If \fIx\fP is zero, then the normalized fraction is zero and zero is stored in \fIe\fP. .P If \fIx\fP is a NaN, a NaN is returned, and the value of \fI*e\fP is unspecified. .P If \fIx\fP is positive infinity (negative infinity), positive infinity (negative infinity) is returned, and the value of \fI*e\fP is unspecified. .SH ERREURS Aucune erreur n'est survenue' .SH ATTRIBUTS Pour une explication des termes utilisés dans cette section, consulter \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interface Attribut Valeur T{ .na .nh \fBfrexp\fP(), \fBfrexpf\fP(), \fBfrexpl\fP() T} Sécurité des threads MT\-Safe .TE .SH NORMES C11, POSIX.1\-2008. .SH HISTORIQUE C99, POSIX.1\-2001. .P La variante renvoyant \fIdouble\fP est également conforme à SVr4, 4.3BSD, C89. .SH EXEMPLES Le programme ci\-dessous affiche les résultats suivants\ : .P .in +4n .EX $\fB ./a.out 2560\fP frexp(2560, &e) = 0.625: 0.625 * 2\[ha]12 = 2560 $\fB ./a.out \-4\fP frexp(\-4, &e) = \-0.5: \-0.5 * 2\[ha]3 = \-4 .EE .in .SS "Source du programme" .\" SRC BEGIN (frexp.c) \& .EX #include #include #include #include \& int main(int argc, char *argv[]) { double x, r; int e; \& x = strtod(argv[1], NULL); r = frexp(x, &e); \& printf("frexp(%g, &e) = %g: %g * %d\[ha]%d = %g\[rs]n", x, r, r, 2, e, x); exit(EXIT_SUCCESS); } .EE .\" SRC END .SH "VOIR AUSSI" \fBldexp\fP(3), \fBmodf\fP(3) .PP .SH TRADUCTION La traduction française de cette page de manuel a été créée par Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot , Cédric Boutillier et Jean-Pierre Giraud . .PP Cette traduction est une documentation libre ; veuillez vous reporter à la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 .UE concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. .PP Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à .MT debian-l10n-french@lists.debian.org .ME .