File: remquo.3

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (121 lines) | stat: -rw-r--r-- 2,846 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
.\"     <mtk.manpages@gmail.com>
.\" Distributed under GPL
.\" based on glibc infopages
.\" polished, aeb
.\"
.\" Japanese Version Copyright (c) 2005 Yuichi SATO
.\" and Copyright (c) 2008 Akihiro MOTOKI
.\" Translated Tue Feb  1 06:39:08 JST 2005
.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
.\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
.TH REMQUO 3 2008-08-11 "GNU" "Linux Programmer's Manual"
.SH ̾
remquo, remquof, remquol \- ΰȾ;
.SH 
.nf
.B #include <math.h>
.sp
.BI "double remquo(double " x ", double " y ", int *" quo );
.br
.BI "float remquof(float " x ", float " y ", int *" quo );
.br
.BI "long double remquol(long double " x ", long double " y ", int *" quo );
.fi
.sp
\fI\-lm\fP ǥ󥯤롣
.sp
.in -4n
glibc εǽޥ׷
.RB ( feature_test_macros (7)
):
.in
.sp
.ad l
.BR remquo (),
.BR remquof (),
.BR remquol ():
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
.I cc\ -std=c99
.ad b
.SH 
δؿ
.I x

.I y
dzäȤξΰȾ;׻롣
ΤĤΥӥåȤ
.I quo
ݥ󥿤ȤäƳǼ롣
;ϴؿη̤Ȥ֤롣

;ͤ
.BR remainder (3)
ؿǷ׻ΤƱǤ롣

.I quo
ݥ󥿤ȤäƳǼͤˤϡ
.I "x\ /\ y"
ȺǤ⾦β 3 ӥåȤޤޤ롣

Ȥ \fIremquo(29.0,\ 3.0)\fP  \-1.0 ֤
(: quo λؤƤΤˤ) 2 Ǽ롣
ºݤξͤˤʤʤդ뤳ȡ
.\" δؿѤ륢ץꥱȤƤϡ
.\" sin(x) η׻ʤɤ뤫⤷ʤ
.\" sin(x) Ǥ remquo(x, pi/2, &quo) ʤɤ׻롣
.\"
.\" glibc, UnixWare: 3 ӥåȤ֤
.\" MacOS 10: 7 ӥåȤ֤
.SH ֤
ȡδؿ
.BR remainder (3)
˽񤫤ƤƱͤδؿƱ֤ͤ

.I x

.I y
 NaN ξ硢NaN ֤롣

.I x
̵
.I y
 NaN Ǥʤ硢
ΰ襨顼 (domain error) ȯNaN ֤롣

.I y

.I x
 NaN Ǥʤ硢
ΰ襨顼 (domain error) ȯNaN ֤롣
.SH 顼
δؿƤӽФݤ˥顼ȯȽˡˤĤƤξ
.BR math_error (7)
򻲾ȤΤȡ
.PP
ʲΥ顼ȯǽ롣
.TP
ΰ襨顼 (domain error): \fIx\fP ̵礫 \fIy\fP  0 ǡ \
¾ΰ NaN Ǥʤ
.\" .I errno
.\" is set to
.\" .BR EDOM .
 (invalid) ư㳰
.RB ( FE_INVALID )
夬롣
.PP
δؿ
.I errno
ꤷʤ
.\" FIXME . Is it intentional that these functions do not set errno?
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6802
.SH С
δؿ glibc С 2.1 ǽо줷
.SH 
C99, POSIX.1-2001.
.SH Ϣ
.BR fmod (3),
.BR logb (3),
.BR remainder (3)