modf(3) Library Functions Manual modf(3) NOM modf, modff, modfl - Séparer la partie entière et décimale d'un nombre réel BIBLIOTHÈQUE Bibliothèque de math (libm, -lm) SYNOPSIS #include <math.h> double modf(double x, double *iptr); float modff(float x, float *iptr); long double modfl(long double x, long double *iptr); Exigences de macros de test de fonctionnalités pour la glibc (consulter feature_test_macros(7)) : modff(), modfl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* Depuis la glibc 2.19 : */ _DEFAULT_SOURCE || /* glibc <= 2.19 : */ _BSD_SOURCE || _SVID_SOURCE DESCRIPTION These functions break the argument x into an integral part and a frac- tional part, each of which has the same sign as x. The integral part is stored in the location pointed to by iptr. VALEUR RENVOYÉE These functions return the fractional part of x. Si x n'est pas un nombre (NaN, pour « Not a Number »), un NaN est ren- voyé, et *iptr est rempli avec un NaN. Si x est l'infini positif (resp. l'infini négatif), +0 (resp. -0) est renvoyé et *iptr est positionné à l'infini positif (resp. l'infini né- gatif). ERREURS Aucune erreur ne survient. ATTRIBUTS Pour une explication des termes utilisés dans cette section, consulter attributes(7). ┌─────────────────────────────────────┬──────────────────────┬─────────┐ │Interface │ Attribut │ Valeur │ ├─────────────────────────────────────┼──────────────────────┼─────────┤ │modf(), modff(), modfl() │ Sécurité des threads │ MT-Safe │ └─────────────────────────────────────┴──────────────────────┴─────────┘ STANDARDS C99, POSIX.1-2001, POSIX.1-2008. La variante renvoyant double est également conforme à SVr4, 4.3BSD. VOIR AUSSI frexp(3), ldexp(3) TRADUCTION La traduction française de cette page de manuel a été créée par Chris- tophe Blaess <https://www.blaess.fr/christophe/>, Stéphan Rafin <ste- phan.rafin@laposte.net>, Thierry Vignaud <tvignaud@mandriva.com>, Fran- çois Micaux, Alain Portal <aportal@univ-montp2.fr>, Jean-Philippe Gué- rard <fevrier@tigreraye.org>, Jean-Luc Coulon (f5ibh) <jean-luc.cou- lon@wanadoo.fr>, Julien Cristau <jcristau@debian.org>, Thomas Huriaux <thomas.huriaux@gmail.com>, Nicolas François <nicolas.francois@centra- liens.net>, Florentin Duneau <fduneau@gmail.com>, Simon Paillard <si- mon.paillard@resel.enst-bretagne.fr>, Denis Barbier <barbier@de- bian.org>, David Prévot <david@tilapin.org> et Cédric Boutillier <ce- dric.boutillier@gmail.com> Cette traduction est une documentation libre ; veuillez vous reporter à la GNU General Public License version 3 ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩ concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à ⟨debian-l10n-french@lists.debian.org⟩. Pages du manuel de Linux 6.03 5 février 2023 modf(3)
Generated by dwww version 1.15 on Sat Jun 29 01:54:36 CEST 2024.