JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ことができる。 プログラマが定義した関数は例外が発生した際に起動される。 この関数は引数 1 個で起動され、その引数は以下に示す exception 構造体へのポインターである。 struct exception { int type; /* Exception type */ char *name; /* Name of function causing exc ... result out of range x=-inf 以下の実行例では、 matherr () が呼び出され、返り値 0 が返される。 $ ./a.out 0.0 0 matherr SING exception in log() function args: 0.000000, 0.000000 retval: -340282346638528859811704183484516925440.000000 log: SING error errno: ... リによって出力されている。 次の実行例では、 matherr () が呼び出され、0 以外の返り値が返される。 $ ./a.out 0.0 1 matherr SING exception in log() function args: 0.000000, 0.000000 retval: -340282346638528859811704183484516925440.000000 x=-34028234663852885981 ... ... cess as a whole. A signal may be process-directed because it was generated by the kernel for reasons other than a hardware exception, or because it was sent using kill (2) or sigqueue (3). A thread-directed signal is one that is targeted at a specific thr ... d because it was generated as a consequence of executing a specific machine-language instruction that triggered a hardware exception (e.g., SIGSEGV for an invalid memory access, or SIGFPE for a math error), or because it was targeted at a specific thread ... thread. See proc (5) for further details. バグ There are six signals that can be delivered as a consequence of a hardware exception: SIGBUS , SIGEMT , SIGFPE , SIGILL , SIGSEGV , and SIGTRAP . Which of these signals is delivered, for any given hardware e ... ... が指す場所に格納して返す。 PR_SET_FPEXC (Linux 2.4.21 および 2.5.32 以降、PowerPC のみ) 浮動小数点例外モード (floating-point exception mode) を arg2 で指定された値に設定する。 指定できるのは以下の値である: PR_FP_EXC_SW_ENABLE (FPEXC で浮動小数点例外を有効に ... 不正な命令 (invalid operation))、 PR_FP_EXC_DISABLED (浮動小数点例外を無効にする)、 PR_FP_EXC_NONRECOV (async nonrecoverable exception mode)、 PR_FP_EXC_ASYNC (async recoverable exception mode)、 PR_FP_EXC_PRECISE (precise exception mode)。 PR_GET_FPEXC (Li ... ... ule_symbol *syms; struct module_ref *deps; struct module_ref *refs; int (*init)(void); void (*cleanup)(void); const struct exception_table_entry *ex_table_start; const struct exception_table_entry *ex_table_end; #ifdef __alpha__ unsigned long gp; #endif } ... ... ule_symbol *syms; struct module_ref *deps; struct module_ref *refs; int (*init)(void); void (*cleanup)(void); const struct exception_table_entry *ex_table_start; const struct exception_table_entry *ex_table_end; #ifdef __alpha__ unsigned long gp; #endif } ... ... グ Before glibc 2.17, on certain architectures (e.g., x86, but not x86_64) expm1 () raised a bogus underflow floating-point exception for some large negative x values (where the function result approaches -1), glibc 2.11 あたりより前では、 expm1 () は、 x ... ... グ Before glibc 2.17, on certain architectures (e.g., x86, but not x86_64) expm1 () raised a bogus underflow floating-point exception for some large negative x values (where the function result approaches -1), glibc 2.11 あたりより前では、 expm1 () は、 x ... ... グ Before glibc 2.17, on certain architectures (e.g., x86, but not x86_64) expm1 () raised a bogus underflow floating-point exception for some large negative x values (where the function result approaches -1), glibc 2.11 あたりより前では、 expm1 () は、 x ... ... value in floating-point format, using the current rounding direction (see fesetround (3)) and without raising the inexact exception. When the current rounding direction is to nearest, these functions round halfway cases to the even integer in accordance ... ... value in floating-point format, using the current rounding direction (see fesetround (3)) and without raising the inexact exception. When the current rounding direction is to nearest, these functions round halfway cases to the even integer in accordance ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。