Skip to main content

SWS_BITEXACT

Constant SWS_BITEXACT 

Source
pub const SWS_BITEXACT: u32 = 524288; // 524_288u32
Expand description

Force bit-exact output. This will prevent the use of platform-specific optimizations that may lead to slight difference in rounding, in favor of always maintaining exact bit output compatibility with the reference C code.

Note: It is recommended to set both of these flags simultaneously.