ensure a cast on everything in a return, even a nan or an inf