In zsh, $((inf)) should be regarded as infinity, not as the inf variable. This does not work with tr_TR.utf8, probably because "I" and "i" are not the same letter in Turkish. $ zsh -fc 'export LC_ALL=tr_TR.utf8; echo $((Inf)) $((inf))' Inf 0 This may be a Debian specific bug (upstream cannot reproduce it).