OSDN Git Service

(split) Convert release and draft pages to UTF-8.
[linuxjm/LDP_man-pages.git] / draft / man3 / hypot.3
index f293154..defd215 100644 (file)
 .\"
 .TH HYPOT 3 2010-09-20 ""  "Linux Programmer's Manual"
 .\"O .SH NAME
-.SH Ì¾Á°
+.SH 名前
 .\"O hypot, hypotf, hypotl \- Euclidean distance function
-hypot, hypotf, hypotl \- ¥æ¡¼¥¯¥ê¥Ã¥Éµ÷Î¥´Ø¿ô
+hypot, hypotf, hypotl \- ユークリッド距離関数
 .\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
 .nf
 .B #include <math.h>
 .sp
@@ -56,14 +56,14 @@ hypot, hypotf, hypotl \- 
 .fi
 .sp
 .\"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 ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
+glibc 向けの機能検査マクロの要件
 .RB ( feature_test_macros (7)
-»²¾È):
+参照):
 .in
 .sp
 .ad l
@@ -87,15 +87,15 @@ or
 .RE
 .ad b
 .\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
 .\"O The
 .\"O .BR hypot ()
 .\"O function returns
 .\"O .RI sqrt( x * x + y * y ).
 .BR hypot ()
-´Ø¿ô¤Ï
+関数は
 .RI sqrt( x * x + y * y )
-¤ÎÃͤòÊÖ¤¹¡£
+の値を返す。
 .\"O This is the length of the hypotenuse of a right-angled triangle
 .\"O with sides of length
 .\"O .I x
@@ -104,35 +104,35 @@ or
 .\"O or the distance of the point
 .\"O .RI ( x , y )
 .\"O from the origin.
-¤³¤ì¤Ï
-ľ³Ñ¤ò¶´¤à 2 ÊÕ¤ÎŤµ¤¬
+これは
+直角を挟む 2 辺の長さが
 .I x
-¤È
+と
 .I y
-¤Ç¤¢¤ëľ³Ñ»°³Ñ·Á¤Î¼ÐÊÕ¤ÎŤµ¡¢
-¤¹¤Ê¤ï¤Á¡¢¸¶ÅÀ¤ÈÅÀ
+である直角三角形の斜辺の長さ、
+すなわち、原点と点
 .RI ( x , y )
-¤È¤Îµ÷Î¥¤Ç¤¢¤ë¡£
+との距離である。
 
 .\"O The calculation is performed without undue overflow or underflow
 .\"O during the intermediate steps of the calculation.
-·×»»¤ÎÃæ´Ö¥¹¥Æ¥Ã¥×¤Ç¤Ï¡¢É¬Íװʾå¤Î¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤ä¥¢¥ó¥À¡¼¥Õ¥í¡¼¤¬
-µ¯¤­¤Ê¤¤¤è¤¦¤Ë¤·¤Æ·×»»¤¬¼Â¹Ô¤µ¤ì¤ë¡£
+計算の中間ステップでは、必要以上のオーバーフローやアンダーフローが
+起きないようにして計算が実行される。
 .\" e.g., hypot(DBL_MIN, DBL_MIN) does the right thing, as does, say
 .\" hypot(DBL_MAX/2.0, DBL_MAX/2.0).
 .\"O .SH RETURN VALUE
-.SH ÊÖ¤êÃÍ
+.SH 返り値
 .\"O On success, these functions return the length of a right-angled triangle
 .\"O with sides of length
 .\"O .I x
 .\"O and
 .\"O .IR y .
-À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢
-ľ³Ñ¤ò¶´¤à 2 ÊÕ¤ÎŤµ¤¬
+成功すると、これらの関数は、
+直角を挟む 2 辺の長さが
 .I x
-¤È
+と
 .I y
-¤Ç¤¢¤ëľ³Ñ»°³Ñ·Á¤Î¼ÐÊÕ¤ÎŤµ¤òÊÖ¤¹¡£
+である直角三角形の斜辺の長さを返す。
 
 .\"O If
 .\"O .I x
@@ -141,9 +141,9 @@ or
 .\"O is an infinity,
 .\"O positive infinity is returned.
 .I x
-¤«
+か
 .I y
-¤¬Ìµ¸ÂÂç¤Î¾ì¹ç¡¢Àµ¤Î̵¸ÂÂ礬ÊÖ¤µ¤ì¤ë¡£
+が無限大の場合、正の無限大が返される。
 
 .\"O If
 .\"O .I x
@@ -153,10 +153,10 @@ or
 .\"O and the other argument is not an infinity,
 .\"O a NaN is returned.
 .I x
-¤«
+か
 .I y
-¤Î°ìÊý¤¬ NaN ¤Ç¡¢¤â¤¦°ìÊý¤¬Ìµ¸ÂÂç¤Ç¤Ê¤¤¾ì¹ç¡¢
-NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
+の一方が NaN で、もう一方が無限大でない場合、
+NaN が返される。
 
 .\"O If the result overflows,
 .\"O a range error occurs,
@@ -166,35 +166,35 @@ NaN 
 .\"O or
 .\"O .BR HUGE_VALL ,
 .\"O respectively.
-·ë²Ì¤¬¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤¹¤ë¾ì¹ç¡¢ÈÏ°Ï¥¨¥é¡¼ (range error) ¤¬È¯À¸¤·¡¢
-³Æ´Ø¿ô¤Ï¤½¤ì¤¾¤ì
+結果がオーバーフローする場合、範囲エラー (range error) が発生し、
+各関数はそれぞれ
 .BR HUGE_VAL ,
 .BR HUGE_VALF ,
 .B HUGE_VALL
-¤òÊÖ¤¹¡£
+を返す。
 
 .\"O If both arguments are subnormal, and the result is subnormal,
-ξÊý¤Î°ú¤­¿ô¤¬ÈóÀµµ¬²½¿ô (subnormal) ¤Ç¡¢·ë²Ì¤âÈóÀµµ¬²½¿ô (subnormal) ¤Î¾ì¹ç¡¢
+両方の引き数が非正規化数 (subnormal) で、結果も非正規化数 (subnormal) の場合、
 .\" Actually, could the result not be subnormal if both arguments
 .\" are subnormal?  I think not -- mtk, Jul 2008
 .\"O a range error occurs,
 .\"O and the correct result is returned.
-ÈÏ°Ï¥¨¥é¡¼¤¬È¯À¸¤·¡¢Àµ¤·¤¤·ë²Ì¤¬ÊÖ¤µ¤ì¤ë¡£
+範囲エラーが発生し、正しい結果が返される。
 .\"O .SH ERRORS
-.SH ¥¨¥é¡¼
+.SH ã\82¨ã\83©ã\83¼
 .\"O See
 .\"O .BR math_error (7)
 .\"O for information on how to determine whether an error has occurred
 .\"O when calling these functions.
-¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
+これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は
 .BR math_error (7)
-¤ò»²¾È¤Î¤³¤È¡£
+を参照のこと。
 .PP
 .\"O The following errors can occur:
-°Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
+以下のエラーが発生する可能性がある。
 .TP
 .\"O Range error: result overflow
-ÈÏ°Ï¥¨¥é¡¼: ·ë²Ì¤Î¥ª¡¼¥Ð¡¼¥Õ¥í¡¼
+ç¯\84å\9b²ã\82¨ã\83©ã\83¼: çµ\90æ\9e\9cã\81®ã\82ªã\83¼ã\83\90ã\83¼ã\83\95ã\83­ã\83¼
 .\"O .I errno
 .\"O is set to
 .\"O .BR ERANGE .
@@ -202,44 +202,44 @@ NaN 
 .\"O .RB ( FE_OVERFLOW )
 .\"O is raised.
 .I errno
-¤Ë
+に
 .B ERANGE
-¤¬ÀßÄꤵ¤ì¤ë¡£
-¥ª¡¼¥Ð¡¼¥Õ¥í¡¼ÉâÆ°¾®¿ôÅÀÎã³°
+が設定される。
+オーバーフロー浮動小数点例外
 .RB ( FE_OVERFLOW )
-¤¬¾å¤¬¤ë¡£
+が上がる。
 .TP
 .\"O Range error: result underflow
-ÈÏ°Ï¥¨¥é¡¼: ·ë²Ì¤Î¥¢¥ó¥À¡¼¥Õ¥í¡¼
+ç¯\84å\9b²ã\82¨ã\83©ã\83¼: çµ\90æ\9e\9cã\81®ã\82¢ã\83³ã\83\80ã\83¼ã\83\95ã\83­ã\83¼
 .\" .I errno
 .\" is set to
 .\" .BR ERANGE .
 .\"O An underflow floating-point exception
 .\"O .RB ( FE_UNDERFLOW )
 .\"O is raised.
-¥¢¥ó¥À¡¼¥Õ¥í¡¼ÉâÆ°¾®¿ôÅÀÎã³°
+アンダーフロー浮動小数点例外
 .RB ( FE_UNDERFLOW )
-¤¬¾å¤¬¤ë¡£
+が上がる。
 .IP
 .\"O These functions do not set
 .\"O .IR errno
 .\"O for this case.
-¤³¤Î¾ì¹ç¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
+この場合、これらの関数は
 .I errno
-¤òÀßÄꤷ¤Ê¤¤¡£
+を設定しない。
 .\" FIXME . Is it intentional that these functions do not set errno?
 .\" They do set errno for the overflow case.
 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6795
 .\"O .SH "CONFORMING TO"
-.SH ½àµò
+.SH 準拠
 C99, POSIX.1-2001.
 .\"O The variant returning
 .\"O .I double
 .\"O also conforms to
 .\"O SVr4, 4.3BSD.
 .I double
-ÈǤδؿô¤Ï SVr4, 4.3BSD ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
+版の関数は SVr4, 4.3BSD にも準拠している。
 .\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
 .BR cabs (3),
 .BR sqrt (3)