非機密扱い | ![]() | ARM DUI0475KJ | ||
| ||||
ホーム > 浮動小数点のサポート > fplib C99 関数 |
fplib には、C99 機能を実装する多数のルーチンが用意されています。
表 3-4 fplib C99 関数
関数 | 引数の型 | 戻り値の型 | 返すセクション | 標準 |
---|---|---|---|---|
ilogb
|
double
|
int
|
引数 x の指数 | 7.12.6.5 |
ilogbf
|
float
|
int
|
引数 x の指数 | 7.12.6.5 |
ilogbl
|
long double
|
int
|
引数 x の指数 | 7.12.6.5 |
logb
|
double
|
double
|
引数 x の指数 | 7.12.6.11 |
logbf
|
float
|
float
|
引数 x の指数 | 7.12.6.11 |
logbl
|
long double
|
long double
|
引数 x の指数 | 7.12.6.11 |
scalbn
|
double
、
int
|
double
|
x * (FLT_RADIX ** n) |
7.12.6.13 |
scalbnf
|
float
、
int
|
float
|
x * (FLT_RADIX ** n) |
7.12.6.13 |
scalbnl
|
long double
、
int
|
long double
|
x * (FLT_RADIX ** n) |
7.12.6.13 |
scalbln
|
double
、
long int
|
double
|
x * (FLT_RADIX ** n) |
7.12.6.13 |
scalblnf
|
float
、
long int
|
float
|
x * (FLT_RADIX ** n) |
7.12.6.13 |
scalblnl
|
long double
、
long int
|
long double
|
x * (FLT_RADIX ** n) |
7.12.6.13 |
nextafter
|
2 つの
double
|
double
|
y 方向にある、x の次に表現可能な値 | 7.12.11.3 |
nextafterf
|
2 つの
float
|
float
|
y 方向にある、x の次に表現可能な値 | 7.12.11.3 |
nextafterl
|
2 つの
long double
|
long double
|
y 方向にある、x の次に表現可能な値 | 7.12.11.3 |
nexttoward
|
double
、
long double
|
double
|
y 方向にある、x の次に表現可能な値 | 7.12.11.4 |
nexttowardf
|
float
、
long double
|
float
|
y 方向にある、x の次に表現可能な値 | 7.12.11.4 |
nexttowardl
|
2 つの
long double
|
long double
|
y 方向にある、x の次に表現可能な値 | 7.12.11.4 |