Concurrency::fast_math 命名空間

fast_math 命名空間中的函式具有較低精確度,只支援單精確度 (float),並呼叫 DirectX 內部。 對每個函式的兩個版本,例如 coscosf。 兩個版本會接受並傳回 float,但每一個呼叫相同的在內部的 DirectX。

namespace fast_math;

Members

Hh553048.collapse_all(zh-tw,VS.110).gif功能

名稱

描述

cos 函式 (fast_math)

計算這個引數的反餘弦函式值

cosf 函式 (fast_math)

計算這個引數的反餘弦函式值

asin 函式 (fast_math)

計算引數的反正弦函式值

asinf 函式 (fast_math)

計算引數的反正弦函式值

atan 函式 (fast_math)

計算這個引數的反正切函式值

atan2 函式 (fast_math)

計算 _Y/_X 的反正切函式值

atan2f 函式 (fast_math)

計算 _Y/_X 的反正切函式值

atanf 函式 (fast_math)

計算這個引數的反正切函式值

ceil 函式 (fast_math)

計算引數的向上取整函式值

ceilf 函式 (fast_math)

計算引數的向上取整函式值

cos 函式 (fast_math)

計算這個引數的餘弦函式值

cosf 函式 (fast_math)

計算這個引數的餘弦函式值

cosh 函式 (fast_math)

計算引數的雙曲線餘弦函式值

coshf 函式 (fast_math)

計算引數的雙曲線餘弦函式值

exp 函式 (fast_math)

計算引數以 e 為基底的指數函式值

exp2 函式 (fast_math)

計算引數以2為底數的指數

exp2f 函式 (fast_math)

計算引數以2為底數的指數

expf 函式 (fast_math)

計算引數以 e 為基底的指數函式值

fabs 函式 (fast_math)

傳回引數的絕對值

fabsf 函式 (fast_math)

傳回引數的絕對值

floor 函式 (fast_math)

計算引數的向下取整函式值

floorf 函式 (fast_math)

計算引數的向下取整函式值

fmax 函式 (fast_math)

判斷引數的最大的數字值

fmaxf 函式 (fast_math)

判斷引數的最大的數字值

fmin 函式 (fast_math)

判斷引數最小的數字值

fminf 函式 (fast_math)

判斷引數最小的數字值

fmod 函式 (fast_math)

計算 _X/_Y 浮點數餘數。

fmodf 函式 (fast_math)

計算 _X/_Y 浮點數餘數。

frexp 函式 (fast_math)

取得 _X 的尾數和指數

frexpf 函式 (fast_math)

取得 _X 的尾數和指數

isfinite 函式 (fast_math)

確定引數是否有有限值。

isinf 函式 (fast_math)

確定引數是否為無限大

isnan 函式 (fast_math)

判斷這個引數是否為非數

ldexp 函式 (fast_math)

利用尾數和指數計算出一個實數。

ldexpf 函式 (fast_math)

利用尾數和指數計算出一個實數。

log 函式 (fast_math)

計算引數以 e 為基底的對數函式值

log10 函式 (fast_math)

計算引數以 10 為基底的對數函式值

log10f 函式 (fast_math)

計算引數以 10 為基底的對數函式值

log2 函式 (fast_math)

計算引數以 2 為基底的對數函式值

log2f 函式 (fast_math)

計算引數以 2 為基底的對數函式值

logf 函式 (fast_math)

計算引數以 e 為基底的對數函式值

modf 函式 (fast_math)

分割 _X 至分數和整數部分中。

modff 函式 (fast_math)

分割 _X 至分數和整數部分中。

pow 函式 (fast_math)

計算 _X 的 _Y 次方

powf 函式 (fast_math)

計算 _X 的 _Y 次方

round 函式 (fast_math)

將 _X 捨入至最接近的整數。

roundf 函式 (fast_math)

將 _X 捨入至最接近的整數。

rsqrt 函式 (fast_math)

傳回引數的平方根的倒數。

rsqrtf 函式 (fast_math)

傳回引數的平方根的倒數。

signbit 函式 (fast_math)

傳回這個引數的正負號

signbitf 函式 (fast_math)

傳回這個引數的正負號

sin 函式 (fast_math)

計算這個引數的正弦值。

sincos 函式 (fast_math)

計算 _X 的正弦 (Sine) 和餘弦函數 (Cosine) 值

sincosf 函式 (fast_math)

計算 _X 的正弦 (Sine) 和餘弦函數 (Cosine) 值

sinf 函式 (fast_math)

計算這個引數的正弦值。

sinh 函式 (fast_math)

計算引數的雙曲正弦函式值

sinhf 函式 (fast_math)

計算引數的雙曲正弦函式值

sqrt 函式 (fast_math)

計算引數的平方根

sqrtf 函式 (fast_math)

計算引數的平方根

tan 函式 (fast_math)

計算這個引數的正切值

tanf 函式 (fast_math)

計算這個引數的正切值

tanh 函式 (fast_math)

計算引數的雙曲正切函式值

tanhf 函式 (fast_math)

計算引數的雙曲正切函式值

trunc 函式 (fast_math)

將這個引數截為整數部份

truncf 函式 (fast_math)

將這個引數截為整數部份

需求

標頭: amp_math.h

命名空間: Concurrency::fast_math

請參閱

參考

Concurrency 命名空間 (C++ AMP)