=tes #15808 infinity handling and freeze locale to use "."