.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" References consulted: .\" Linux libc source code .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) .\" 386BSD man pages .\" Modified Sat Jul 24 19:11:11 1993 by Rik Faith (faith@cs.unc.edu) .\" Modified 2004-11-12 as per suggestion by Fabian Kreutz/AEB .\" to note that this function is not available in glibc2. .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .\" .\" Japanese Version Copyright (c) 1998 ISHIOKA Takashi .\" all rights reserved. .\" Translated Mon May 25 10:45:50 1998 .\" by ISHIOKA Takashi .\" Updated & Modified Thu Feb 17 00:01:20 JST 2005 .\" by Yuichi SATO .\" .TH INFNAN 3 1993\-06\-02 GNU "Linux Programmer's Manual" .SH 名前 infnan \- 無限大と無効値 (NaN) を取扱う .SH 書式 .nf \fB#include \fP .sp \fBdouble infnan(int \fP\fIerror\fP\fB);\fP .fi .sp \fI\-lm\fP でリンクする。 .SH 説明 関数 \fBinfnan\fP() は無限大と無効値 (NaN) の結果に対する適切な値を返す。 \fIerror\fP の値は、無限大を表す \fBERANGE\fP か NaN を表すそれ以外の値である。 \fIerrno\fP も同様に設定される。 .SH 返り値 \fIerror\fP が \fBERANGE\fP (無限大) の場合、 \fBHUGE_VAL\fP が返される。 .PP \fIerror\fP が \-\fBERANGE\fP (負の無限大) の場合、 \-\fBHUGE_VAL\fP が返される。 .PP \fIerror\fP がそれ以外の値の場合、NaN が返される。 .SH エラー .TP \fBEDOM\fP \fIerror\fP の値が無効値 (NaN) である。 .TP \fBERANGE\fP \fIerror\fP の値が正の無限大もしくは負の無限大である。 .SH 準拠 4.3BSD. .SH 注意 この廃止された (obsolete) 関数は、 libc4 と libc5 で提供されていたが、 glibc2 では提供されていない。 .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。