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
|
.\" 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 2002-08-10 "GNU" "libc math functions"
.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
\-lm ǥ롣
.SH
.B nextafter()
ؿϡ\fIy\fP ˸ä \fIx\fP Τ٤ưɽ֤
\fIx\fP ֤ͤκʬϡ֤ͤη˰¸롣
\fIx\fP = \fIy\fP ξ硢\fIy\fP Τޤ֤
Τɤ餫ͤ
.IR NaN (̵)
ξ硢
.I NaN
֤ʳξ硢κDz̥ӥåȤбͤʬ
˱Ʋø֤ͤ
.PP
.B nexttoward()
ؿϡ2 ܤΰ long double Ǥʳ
.B nextafter()
ؿƱϤ餭롣
.PP
δؿϡ̤ưϰϳˤʤä硢
СեޤϥեʥΤ롣
.SH
C99δؿ IEC 559 Ƥ롣
(ޤ IEEE 754/IEEE 854 ǤϿǿ侩ؿȤƤ)
.SH Ϣ
.BR nearbyint (3)
|