type_template_exponent10 - kwikius/pqs GitHub Wiki
Signature
pqs::exponent10<int N,int D >
Header
#include <pqs/types/exponent10.hpp>
Description
An instantiable compile-time numeric constant, represnting the exponent of the conversion_factor of a quantity
Notation
| value | type | notes |
|---|---|---|
| r | std::ratio | |
| e10 | pqs::exponent10 | |
| cf | conversion_factor | |
| cfr | conversion_factor |
| expression | result | requires | notes |
|---|---|---|---|
| r ^ e10 | cf | multiplier is r , exponent is e10, normalised | |
| cf ^ e10 | cf | exponent of cf raised by e10, normalised |