Go to the first, previous, next, last section, table of contents.
- setround([mode])
-
:: bigfloat の丸めモードを mode に設定する.
- return
-
整数
- mode
-
整数
-
引数がある場合, bigfloat の丸めモードを mode に設定する.
引数のあるなしにかかわらず, 以前に設定されていた値を返す.
丸めモードの意味は次のとおり.
0
-
Round to nearest
1
-
Round toward 0
2
-
Round toward +infinity
3
-
Round toward -infinity
-
bigfloat での計算に対し有効である.
bigfloat の flag を on にする方法は,
ctrl
を参照.
[1] setprec();
15
[2] setprec(100);
15
[3] setprec(100);
99
[4] setbprec();
332
- 参照
-
section
ctrl
, section eval
, deval
.
Go to the first, previous, next, last section, table of contents.