lower
lowers expressions to their "desugared" form.
e.g
a * b + c => (a.mul(b)).add(c)
note that it is extremely pervasive, so
math!
expands to
it should work for most expressions.
also implements some modules that let it work with some core intrinsics (f*_fast, f*_algebraic). (nightly only!)
and also for saturating math and wrapping math.
why
rust added an amazing feature called algebraic math (thanks orlp), allowing us to use f*_algebraic. however, dont you hate it when your
turns into
this crate allows you to
this is also great for wrapping/saturating math.