Embedded Template Library 1.0
|
A set of rounding algorithms for scaled integrals.
T | The integral type. |
SCALING | The scaling factor. |
emulating fixed point of two decimal places we could use a scaling factor of '100'. To round the result of scaled int calculations using 'Banker's Rounding' we would define this.