.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) .\" Distributed under GPL .\" heavily based on glibc infopages, copyright Free Software Foundation .\" .\" Japanese Version Copyright (c) 2005 Yuichi SATO .\" all rights reserved. .\" Translated Tue Feb 1 07:40:41 JST 2005 .\" by Yuichi SATO .\" .TH SIGNIFICAND 3 2009-02-04 "GNU" "Linux Programmer's Manual" .SH 名前 significand, significandf, significandl \- 浮動小数点数の仮数 (mantissa) を取得する .SH 書式 .B #include .sp .BI "double significand(double " x ); .br .BI "float significandf(float " x ); .br .BI "long double significandl(long double " x ); .sp \fI\-lm\fP でリンクする。 .sp .in -4n glibc 向けの機能検査マクロの要件 .RB ( feature_test_macros (7) 参照): .in .sp .ad l .BR significand (), .BR significandf (), .BR significandl (): .RS 4 _SVID_SOURCE || _BSD_SOURCE .RE .ad b .SH 説明 .BR significand () 関数は .I x の仮数を [1,2) の範囲にして返す。 これは、以下と等しい。 .sp .in +4n scalb(x, (double) \-ilogb(x)) .in .PP この関数は主に IEEE 754 への準拠を調べる標準テストで使われる。 .SH 準拠 これらの関数は非標準である。。 .I double 版は他の多くのシステムでも利用可能である。 .\" .SH 履歴 .\" この関数は BSD に由来する。 .SH 関連項目 .BR ilogb (3), .BR scalb (3)