[][src]Module fts_units::ops

Traits and helpers to faciliate working with generic Quantities.

Traits

Invert

Provide generic Invert interface for invertable types (such as floats)

Reduce

Helper to reduce Ratios to RatioZero when Exponent becomes zero

ReduceWith

Helper to reduce Ratios to RatioZero when Exponent becomes zero

Sqrt

Provide generic Sqrt interface for supported types (such as floats)

Xor

Used only at the type level for Xor'ing Zero and Non-Zero Ratios

Type Definitions

AddOutput
DivOutput
InvertOutput
MulOutput
MulOutput3
MulOutput4
ReduceOutput
ReduceWithOutput
SqrtOutput
SubOutput
XorOutput