.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk .\" .\" .\" SPDX-License-Identifier: GPL-1.0-or-later .\" .\" Based on glibc infopages, copyright Free Software Foundation .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH signbit 3 "15 décembre 2022" "Pages du manuel de Linux 6.03" .SH NOM signbit \- Tester le signe d'un nombre réel à virgule flottante .SH BIBLIOTHÈQUE Bibliothèque de math (\fIlibm\fP, \fI\-lm\fP) .SH SYNOPSIS .nf \fB#include \fP .PP \fBint signbit(\fP\fIx\fP\fB);\fP .fi .PP .RS -4 Exigences de macros de test de fonctionnalités pour la glibc (consulter \fBfeature_test_macros\fP(7))\ : .RE .PP \fBsignbit\fP()\ : .nf _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L .fi .SH DESCRIPTION \fBsignbit\fP() est une macro générique qui peut travailler sur tous les types de réel à virgule flottante. Elle renvoie une valeur non nulle si la valeur de \fIx\fP a son bit de signe positionné. .PP This is not the same as \fIx < 0.0\fP, because IEEE 754 floating point allows zero to be signed. The comparison \fI\-0.0\~<\~0.0\fP is false, but \fIsignbit(\-0.0)\fP will return a nonzero value. .PP Les NaN et les infinis ont un bit de signe. .SH "VALEUR RENVOYÉE" La macro \fBsignbit\fP() renvoie une valeur non nulle si le signe de \fIx\fP est négatif\ ; sinon elle renvoie zéro. .SH ERREURS Aucune erreur ne survient. .SH ATTRIBUTS Pour une explication des termes utilisés dans cette section, consulter \fBattributes\fP(7). .ad l .nh .TS allbox; lbx lb lb l l l. Interface Attribut Valeur T{ \fBsignbit\fP() T} Sécurité des threads MT\-Safe .TE .hy .ad .sp 1 .SH STANDARDS POSIX.1\-2001, POSIX.1\-2008, C99. This function is defined in IEC 559 (and the appendix with recommended functions in IEEE 754/IEEE 854). .SH "VOIR AUSSI" \fBcopysign\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 et Cédric Boutillier . .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 .