Ensure value_cast<QP>
uses the minimum number of operataions needed#598
Draft
burnpanck wants to merge 9 commits intompusz:masterfrom burnpanck:feature/efficient-value-cast-QP
+105-36