.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk .\" .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" References consulted: .\" Linux libc source code .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) .\" 386BSD man pages .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu) .\" Modified 2002-07-27 by Walter Harms .\" (walter.harms@informatik.uni-oldenburg.de) .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH tan 3 "20. Juli 2023" "Linux man\-pages 6.05.01" .SH BEZEICHNUNG tan, tanf, tanl \- Tangensfunktion .SH BIBLIOTHEK Mathematik\-Bibliothek (\fIlibm\fP, \fI\-lm\fP) .SH ÜBERSICHT .nf \fB#include \fP .PP \fBdouble tan(double \fP\fIx\fP\fB);\fP \fBfloat tanf(float \fP\fIx\fP\fB);\fP \fBlong double tanl(long double \fP\fIx\fP\fB);\fP .fi .PP .RS -4 Mit Glibc erforderliche Feature\-Test\-Makros (siehe \fBfeature_test_macros\fP(7)): .RE .PP \fBtanf\fP(), \fBtanl\fP(): .nf _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* Seit Glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .fi .SH BESCHREIBUNG Diese Funktionen geben den Tangens von \fIx\fP zurück, wobei \fIx\fP im Radialmaß übergeben wird. .SH RÜCKGABEWERT Bei Erfolg geben diese Funktionen den Tangens von \fIx\fP zurück. .PP Falls \fIx\fP keine Zahl (»NaN«) ist, wird »NaN« zurückgegeben. .PP Falls \fIx\fP plus oder minus unendlich ist, tritt ein Wertebereichsfehler auf und es wird »NaN« zurückgegeben. .PP .\" I think overflow can't occur, because the closest floating-point .\" representation of pi/2 is still not close enough to pi/2 to .\" produce a large enough value to overflow. .\" Testing certainly seems to bear this out. -- mtk, Jul 08 .\" .\" POSIX.1 allows an optional underflow error; .\" glibc 2.8 doesn't do this .\" POSIX.1 an optional range error for subnormal x; .\" glibc 2.8 doesn't do this Falls das korrekte Ergebnis überlaufen würde, tritt ein Bereichsfehler auf und die Funktionen geben jeweils \fBHUGE_VAL\fP, \fBHUGE_VALF\fP oder \fBHUGE_VALL\fP mit dem mathematisch korrekten Vorzeichen zurück. .SH FEHLER In \fBmath_error\fP(7) erfahren Sie, wie Sie Fehler bei der Ausführung dieser Funktionen erkennen. .PP Die folgenden Fehler können auftreten: .TP Wertebereichsfehler: \fIx\fP ist unendlich \fIerrno\fP wird auf \fBEDOM\fP gesetzt (siehe aber FEHLER). Es wird der Fließkomma\-Ausnahmefehler »unzulässige Fließkommazahl« (\fBFE_INVALID\fP) ausgelöst. .TP Bereichsfehler: Ergebnisüberlauf .\" Unable to test this case, since the best approximation of .\" pi/2 in double precision only yields a tan() value of 1.633e16. .\" .I errno .\" is set to .\" .BR ERANGE . Es wird ein Überlauf\-Fließkomma\-Ausnahmefehler (\fBFE_OVERFLOW\fP) ausgelöst. .SH ATTRIBUTE Siehe \fBattributes\fP(7) für eine Erläuterung der in diesem Abschnitt verwandten Ausdrücke. .TS allbox; lbx lb lb l l l. Schnittstelle Attribut Wert T{ .na .nh \fBtan\fP(), \fBtanf\fP(), \fBtanl\fP() T} Multithread\-Fähigkeit MT\-Sicher .TE .sp 1 .SH STANDARDS C11, POSIX.1\-2008. .SH GESCHICHTE C99, POSIX.1\-2001. .PP Die Variante, die \fIdouble\fP zurückgibt, ist außerdem konform zu SVr4, 4.3BSD, C89. .SH FEHLER .\" http://sourceware.org/bugzilla/show_bug.cgi?id=6782 Vor Version 2.10 hat die Glibc\-Implementierung \fIerrno\fP nicht auf \fBEDOM\fP gesetzt, wenn ein Bereichsfehler auftrat. .SH "SIEHE AUCH" \fBacos\fP(3), \fBasin\fP(3), \fBatan\fP(3), \fBatan2\fP(3), \fBcos\fP(3), \fBctan\fP(3), \fBsin\fP(3) .PP .SH ÜBERSETZUNG Die deutsche Übersetzung dieser Handbuchseite wurde von Markus Schmitt und Dr. Tobias Quathamer erstellt. .PP Diese Übersetzung ist Freie Dokumentation; lesen Sie die .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE oder neuer bezüglich der Copyright-Bedingungen. Es wird KEINE HAFTUNG übernommen. .PP Wenn Sie Fehler in der Übersetzung dieser Handbuchseite finden, schicken Sie bitte eine E-Mail an die .MT debian-l10n-german@lists.debian.org Mailingliste der Übersetzer .ME .