MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ WordPairOp

enum class MayaFlux::Portal::Graphics::WordPairOp : uint8_t
strong

Operation applied by a WordPairMap kernel.

Results are the IEEE 754 binary64 results rounded to nearest even, including signed zeros, infinities, NaN and subnormals.

Enumerator
Add 

a + b

Mul 

a * b

Div 

a / b

Sqrt 

sqrt(a). Unary: no b binding.

ToFloat32 

float32(a) rounded to nearest even, with IEEE results for zeros, infinities, NaN, overflow and float subnormals.

Unary: no b binding, and the result binding is FLOAT32.

Definition at line 73 of file ShaderSpec.hpp.

73 : uint8_t {
74 Add, ///< a + b
75 Mul, ///< a * b
76 Div, ///< a / b
77 Sqrt, ///< sqrt(a). Unary: no b binding.
78 ToFloat32, ///< float32(a) rounded to nearest even, with IEEE results for zeros, infinities, NaN, overflow and
79 ///< float subnormals. Unary: no b binding, and the result binding is FLOAT32.
80};
@ ToFloat32
float32(a) rounded to nearest even, with IEEE results for zeros, infinities, NaN, overflow and float ...
@ Sqrt
sqrt(a). Unary: no b binding.