-
Notifications
You must be signed in to change notification settings - Fork 1
type_template_exponent10
kwikius edited this page Jul 11, 2021
·
2 revisions
pqs::exponent10<int N,int D >
#include <pqs/types/exponent10.hpp>
An instantiable compile-time numeric constant, represnting the exponent of the conversion_factor of a quantity
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 |