+ fixes for gcc 5.4.0 (ubuntu 16.04.3 / kira) re numeric_limits<T>::max()
Authored by: mukau 2018-06-28
Parent: [r1032]
Child: [r1034]