File: nextafter.3

package info (click to toggle)
manpages-ja 0.5.0.0.20080615-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 20,508 kB
  • ctags: 1
  • sloc: sh: 13,690; perl: 157; makefile: 114
file content (68 lines) | stat: -rw-r--r-- 1,911 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
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\" Based on glibc infopages
.\"
.\" Japanese Version Copyright (c) 2003 Akihiro MOTOKI all rights reserved.
.\" Translated Mon Jan 27 2003 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
.\"WORD:	mantissa	
.\"WORD:	normalized	줿
.\"
.TH NEXTAFTER 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.SH ̾
nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl \-
ư
.SH 
.B #include <math.h>
.sp
.BI "double nextafter(double " x ", double " y );
.br
.BI "float nextafterf(float " x ", float " y );
.br
.BI "long double nextafterl(long double " x ", long double " y );
.sp
.BI "double nexttoward(double " x ", long double " y );
.br
.BI "float nexttowardf(float " x ", long double " y );
.br
.BI "long double nexttowardl(long double " x ", long double " y );
.sp
\fI\-lm\fP ǥ󥯤롣
.sp
.in -4n
glibc εǽޥ׷
.RB ( feature_test_macros (7)
):
.in
.sp
.ad l
All functions shown above:
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
.I cc\ -std=c99
.ad b
.SH 
.BR nextafter ()
ؿϡ\fIy\fP ˸ä \fIx\fP Τ٤ưɽ֤
\fIx\fP ֤ͤκʬϡ֤ͤη˰¸롣
\fIx\fP = \fIy\fP ξ硢\fIy\fP 򤽤Τޤ֤
Τɤ餫ͤ
.IR NaN (̵)
ξ硢
.I NaN
֤ʳξ硢κDz̥ӥåȤбͤʬ
˱Ʋø֤ͤ
.PP
.BR nexttoward ()
ؿϡ2 ܤΰ
.I long double
Ǥʳ
.BR nextafter ()
ؿƱϤ餭򤹤롣
.PP
δؿϡ̤ưϰϳˤʤä硢
Сեޤϥե򥷥ʥΤ롣
.SH 
C99δؿ IEC 559 Ƥ롣
(ޤ IEEE 754/IEEE 854 ǤϿǿ侩ؿȤƤ)
.SH Ϣ
.BR nearbyint (3)