.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
.\" <mtk.manpages@gmail.com>
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" References consulted:
.\" Linux libc source code
.\" Modified 2002-07-27 by Walter Harms
.\" (walter.harms@informatik.uni-oldenburg.de)
.\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.\"
.\" Japanese Version Copyright (c) 1996 Kenji Kajiwara and Kentaro Ogawa
.\" all rights reserved.
.\" Translated Sat, 13 Jul 1996 17:50:45 JST
.\" by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\" Updated 2008-09-15, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
-.TH ATAN2 3 2008-11-20 "" "Linux Programmer's Manual"
-.\"O .SH NAME
-.SH ̾Á°
-.\"O atan2, atan2f, atan2l \- arc tangent function of two variables
-atan2, atan2f, atan2l \- Æó¤Ä¤ÎÊÑ¿ô¤ËÂФ¹¤ëµÕÀµÀÜ¡Êarc tangent¡Ë´Ø¿ô
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.TH ATAN2 3 2010\-09\-20 "" "Linux Programmer's Manual"
+.SH 名前
+atan2, atan2f, atan2l \- 二つの変数に対する逆正接(arc tangent)関数
+.SH 書式
.nf
-.B #include <math.h>
+\fB#include <math.h>\fP
-.BI "double atan2(double " y ", double " x );
-.BI "float atan2f(float " y ", float " x );
-.BI "long double atan2l(long double " y ", long double " x );
+\fBdouble atan2(double \fP\fIy\fP\fB, double \fP\fIx\fP\fB);\fP
+\fBfloat atan2f(float \fP\fIy\fP\fB, float \fP\fIx\fP\fB);\fP
+\fBlong double atan2l(long double \fP\fIy\fP\fB, long double \fP\fIx\fP\fB);\fP
.fi
-.\"O Link with \fI\-lm\fP.
-\fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
+\fI\-lm\fP でリンクする。
.sp
.in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
-.RB ( feature_test_macros (7)
-»²¾È):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参照):
.in
.sp
.ad l
-.BR atan2f (),
-.BR atan2l ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
-.I cc\ -std=c99
+\fBatan2f\fP(), \fBatan2l\fP():
+.RS
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
+|| _POSIX_C_SOURCE\ >=\ 200112L;
+.br
+or \fIcc\ \-std=c99\fP
+.RE
.ad b
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O The
-.\"O .BR atan2 ()
-.\"O function calculates the principal value of the arc tangent of
-.\"O .IR y/x ,
-.\"O using the signs of the two arguments to determine
-.\"O the quadrant of the result.
-.BR atan2 ()
-´Ø¿ô¤Ï
-.I y/x
-¤ÎµÕÀµÀÜ (arg tangent) ¤Î¼çÃͤò·×»»¤¹¤ë¡£
-Æó¤Ä¤Î°ú¤¿ô¤ÎÉä¹æ¤Ï·ë²Ì¤Î¾Ý¸Â¤ò·èÄꤹ¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¡£
-.\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
-.\"O On success, these functions return the principal value of the arc tangent of
-.\"O .IR y/x
-.\"O in radians; the return value is in the range [\-pi,\ pi].
-À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
-.I y/x
-¤ÎµÕÀµÀܤμçÃͤò¥é¥¸¥¢¥óñ°Ì¤ÇÊÖ¤¹¡£
-ÊÖ¤êÃÍ¤Ï [\-pi,\ pi] ¤ÎÈϰϤȤʤ롣
+.SH 説明
+\fBatan2\fP() 関数は \fIy/x\fP の逆正接 (arg tangent) の主値を計算する。
+二つの引き数の符号は結果の象限を決定するために使われる。
+.SH 返り値
+成功すると、これらの関数は \fIy/x\fP の逆正接の主値をラジアン単位で返す。 返り値は [\-pi,\ pi] の範囲となる。
-.\"O If
-.\"O .I y
-.\"O is +0 (\-0) and
-.\"O .I x
-.\"O is less than 0, +pi (\-pi) is returned.
-.I y
-¤¬ +0 (\-0) ¤Ç
-.I x
-¤¬ 0 ̤Ëþ¤Î¾ì¹ç¡¢+pi (\-pi) ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が +0 (\-0) で \fIx\fP が 0 未満の場合、+pi (\-pi) が返される。
-.\"O If
-.\"O .I y
-.\"O is +0 (\-0) and
-.\"O .I x
-.\"O is greater than 0, +0 (\-0) is returned.
-.I y
-¤¬ +0 (\-0) ¤Ç
-.I x
-¤¬ 0 ¤è¤êÂ礤¤¾ì¹ç¡¢+0 (\-0) ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が +0 (\-0) で \fIx\fP が 0 より大きい場合、+0 (\-0) が返される。
-.\"O If
-.\"O .I y
-.\"O is less than 0 and
-.\"O .I x
-.\"O is +0 or \-0, \-pi/2 is returned.
-.I y
-¤¬ 0 ̤Ëþ¤Ç
-.I x
-¤¬ +0 ¤« \-0 ¤Î¾ì¹ç¡¢\-pi/2 ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が 0 未満で \fIx\fP が +0 か \-0 の場合、\-pi/2 が返される。
-.\"O If
-.\"O .I y
-.\"O is greater than 0 and
-.\"O .I x
-.\"O is +0 or \-0, pi/2 is returned.
-.I y
-¤¬ 0 ¤è¤êÂ礤¯
-.I x
-¤¬ +0 ¤« \-0 ¤Î¾ì¹ç¡¢pi/2 ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が 0 より大きく \fIx\fP が +0 か \-0 の場合、pi/2 が返される。
.\" POSIX.1 says:
.\" If
.\" .I x
.\" is 0, a pole error shall not occur.
.\"
-.\"O If either
-.\"O .I x
-.\"O or
-.\"O .I y
-.\"O is NaN, a NaN is returned.
-.I x
-¤«
-.I y
-¤Î¤¤¤º¤«¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIx\fP か \fIy\fP のいずかが NaN の場合、NaN が返される。
.\" POSIX.1 says:
-.\" If the result underflows, a range error may occur and
+.\" If the result underflows, a range error may occur and
.\" .I y/x
.\" should be returned.
.\"
-.\"O If
-.\"O .I y
-.\"O is +0 (\-0) and
-.\"O .I x
-.\"O is \-0, +pi (\-pi) is returned.
-.I y
-¤¬ +0 (\-0) ¤Ç
-.I x
-¤¬ \-0 ¤Î¾ì¹ç¡¢+pi (\-pi) ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が +0 (\-0) で \fIx\fP が \-0 の場合、+pi (\-pi) が返される。
-.\"O If
-.\"O .I y
-.\"O is +0 (\-0) and
-.\"O .I x
-.\"O is +0, +0 (\-0) is returned.
-.I y
-¤¬ +0 (\-0) ¤Ç
-.I x
-¤¬ +0 ¤Î¾ì¹ç¡¢+0 (\-0) ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が +0 (\-0) で \fIx\fP が +0 の場合、+0 (\-0) が返される。
-.\"O If
-.\"O .I y
-.\"O is a finite value greater (less) than 0, and
-.\"O .I x
-.\"O is negative infinity, +pi (\-pi) is returned.
-.I y
-¤¬ 0 ¤è¤êÂ礤¤ (¾®¤µ¤¤) ͸ÂÃͤÇ
-.I x
-¤¬Éé¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢+pi (\-pi) ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が 0 より大きい (小さい) 有限値で \fIx\fP が負の無限大の場合、+pi (\-pi) が返される。
-.\"O If
-.\"O .I y
-.\"O is a finite value greater (less) than 0, and
-.\"O .I x
-.\"O is positive infinity, +0 (\-0) is returned.
-.I y
-¤¬ 0 ¤è¤êÂ礤¤ (¾®¤µ¤¤) ͸ÂÃͤÇ
-.I x
-¤¬Àµ¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢+0 (\-0) ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が 0 より大きい (小さい) 有限値で \fIx\fP が正の無限大の場合、+0 (\-0) が返される。
-.\"O If
-.\"O .I y
-.\"O is positive infinity (negative infinity), and
-.\"O .I x
-.\"O is finite,
-.\"O pi/2 (\-pi/2) is returned.
-.I y
-¤¬Àµ¤Î̵¸ÂÂç (Éé¤Î̵¸ÂÂç) ¤Ç
-.I x
-¤¬Í¸ÂÃͤξì¹ç¡¢pi/2 (\-pi/2) ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が正の無限大 (負の無限大) で \fIx\fP が有限値の場合、pi/2 (\-pi/2) が返される。
-.\"O If
-.\"O .I y
-.\"O is positive infinity (negative infinity) and
-.\"O .I x
-.\"O is negative infinity, +3*pi/4 (-3*pi/4) is returned.
-.I y
-¤¬Àµ¤Î̵¸ÂÂç (Éé¤Î̵¸ÂÂç) ¤Ç
-.I x
-¤¬Éé¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢+3*pi/4 (-3*pi/4) ¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIy\fP が正の無限大 (負の無限大) で \fIx\fP が負の無限大の場合、+3*pi/4 (\-3*pi/4) が返される。
-.\"O If
-.\"O .I y
-.\"O is positive infinity (negative infinity) and
-.\"O .I x
-.\"O is positive infinity, +pi/4 (-pi/4) is returned.
-.I y
-¤¬Àµ¤Î̵¸ÂÂç (Éé¤Î̵¸ÂÂç) ¤Ç
-.I x
-¤¬Àµ¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢+pi/4 (-pi/4) ¤¬ÊÖ¤µ¤ì¤ë¡£
.\"
.\" POSIX.1 says:
.\" If both arguments are 0, a domain error shall not occur.
-.\"O .SH ERRORS
-.SH ¥¨¥é¡¼
-.\"O No errors occur.
-¥¨¥é¡¼¤ÏȯÀ¸¤·¤Ê¤¤¡£
+\fIy\fP が正の無限大 (負の無限大) で \fIx\fP が正の無限大の場合、+pi/4 (\-pi/4) が返される。
+.SH エラー
.\" POSIX.1 documents an optional underflow error
.\" glibc 2.8 does not do this.
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
-C99, POSIX.1-2001.
-.\"O The variant returning
-.\"O .I double
-.\"O also conforms to
-.\"O SVr4, 4.3BSD, C89.
-.I double
-ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR acos (3),
-.BR asin (3),
-.BR atan (3),
-.BR carg (3),
-.BR cos (3),
-.BR sin (3),
-.BR tan (3)
+エラーは発生しない。
+.SH 準拠
+C99, POSIX.1\-2001. \fIdouble\fP 版の関数は SVr4, 4.3BSD, C89 にも準拠している。
+.SH 関連項目
+\fBacos\fP(3), \fBasin\fP(3), \fBatan\fP(3), \fBcarg\fP(3), \fBcos\fP(3), \fBsin\fP(3),
+\fBtan\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。