I'd rather call it a bug. A function has to do one thing and one thing only, and not when an input is out of range something totally different. That's the hallmark of a bug. It not being documented makes it even more of a bug.
I'd rather call it a bug. A function has to do one thing and one thing only, and not when an input is out of range something totally different. That's the hallmark of a bug. It not being documented makes it even more of a bug.