maths: reduce cast warnings in renormalise

This commit is contained in:
Danny Robson 2015-04-09 20:43:14 +10:00
parent be92d3a11f
commit 7c33efda62

View File

@ -329,7 +329,7 @@ renormalise [[gnu::pure]] (T t)
}
if (U_float)
return U (t) / T_max;
return U(U (t) / T_max);
if (shrinking)
return U (t / (sizeof (T) / sizeof (U)));