Skip to main content

Crate unsafe_math_trait

Crate unsafe_math_trait 

Source
Expand description

Helper trait to provide the fast-math operations

Originally i wanted to just pick functions based on type inside macro, but they dont have acces to type information. And traits just happen to do exactly whats needed.

Traitsยง

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