>> cpu% seq nan >> seq 11791387: suicide: sys: fp: invalid operation fppc=0x2635 status=0x8081 >> pc=0x0000122
> that seems reasonable to me. what could seq possibly do with nan? thats the thing. its not expecting nan. and having the process trap for this input seems rather drastic. imagine we'd make atoi() abort() when the input isnt a valid integer and demand that every caller of atoi() checks beforehand if the input string is a decimal number. writing that check in case for real numbers is even more complicated than writing a test for decimal integers. -- cinap
