Skip to main content

Crate unsafe_math

Crate unsafe_math 

Source
Expand description

§unsafe_math main crate

Re-exports unsafe_math macro and trait (proc_macro crates cant export traits)

See the project README for details

Macros§

unsafe_math_block
Version of unsafe_math macro that wraps statements. Replaces all binary operations with their unchecked/f_fast versions.

Traits§

UnsafeMath
Helper trait to provide the fast-math operations for all integer and float types.

Attribute Macros§

unsafe_math
Main unsafe_math macro. Replaces all binary operations with their unchecked/f_fast versions.