OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man3 / copysign.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
28 .\" Modified 2002-08-10 by Walter Harms (walter.harms@informatik.uni-oldenburg.de)
29 .\"
30 .\" Japanese Version Copyright (c) 1997 Hiroaki Nagoya
31 .\"         all rights reserved.
32 .\" Translated Mon Feb 10 1997 by Hiroaki Nagoya <nagoya@is.titech.ac.jp>
33 .\" Updated 2002-08-24 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
34 .\" Updated 2007-06-01, Akihiro MOTOKI, LDP v2.50
35 .\" Updated 2008-09-15, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
36 .\"
37 .TH COPYSIGN 3  2008-08-05 "GNU" "Linux Programmer's Manual"
38 .SH Ì¾Á°
39 copysign, copysignf, copysignl \- ¿ô¤ÎÉä¹æ¤ò¥³¥Ô¡¼¤¹¤ë
40 .SH ½ñ¼°
41 .nf
42 .B #include <math.h>
43 .sp
44 .BI "double copysign(double " x ", double " y );
45 .br
46 .BI "float copysignf(float " x ", float " y );
47 .br
48 .BI "long double copysignl(long double " x ", long double " y );
49 .fi
50 .sp
51 \fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
52 .sp
53 .in -4n
54 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
55 .RB ( feature_test_macros (7)
56 »²¾È):
57 .in
58 .sp
59 .ad l
60 .BR copysign (),
61 .BR copysignf (),
62 .BR copysignl ():
63 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
64 ¤Þ¤¿¤Ï
65 .I cc\ -std=c99
66 .ad b
67 .SH ÀâÌÀ
68 ´Ø¿ô
69 .BR copysign ()
70 ¤ÏÀäÂÐÃͤ¬
71 \fIx\fP ¤ËÅù¤·¤¯¡¢Éä¹æ¥Ó¥Ã¥È¤¬ \fIy\fP ¤ËÅù¤·¤¤ÃͤòÊÖ¤¹¡£
72 .SH ÊÖ¤êÃÍ
73 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢¤½¤ÎÀäÂÐÃͤÏ
74 .I x
75 ¤ËÅù¤·¤¯¡¢Éä¹æ¤Ï
76 .I y
77 ¤ËÅù¤·¤¤ÃͤòÊÖ¤¹¡£
78
79 \fIx\fP ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤Ë \fIy\fP ¤ÎÉä¹æ¥Ó¥Ã¥È¤ò¤Ä¤±¤ÆÊÖ¤¹¡£
80 .SH ½àµò
81 C99, POSIX.1-2001.
82 .\" 4.3BSD.
83 ¤³¤Î´Ø¿ô¤Ï IEC 559 ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
84 (¤Þ¤¿ IEEE 754/IEEE 854 ¤Ç¤Ï¡¢ÉÕÏ¿¤Ç¿ä¾©´Ø¿ô¤È¤·¤ÆÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£)
85 .SH Ãí°Õ
86 ÉâÆ°¾®¿ôÅÀ·Á¼°¤¬ IEEE 754 ½àµò¤Ç¤Ê¤¤¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ç¤Ï¡¢
87 .BR copysign ()
88 ¤ÏÉé¤Î 0 ¤òÀµ¤È¤·¤Æ°·¤¦¤³¤È¤¬¤¢¤ë¡£
89 .SH ´ØÏ¢¹àÌÜ
90 .BR signbit (3)