[ET Trac] #1278: Handle inf and nan in parameter file parser