It's usual in Complex Analysis see some points of the domain of a function as undefined. See for example as Wikipedia defines a removable singularity:
I've seen functions with undefined points in real calculus books as well (they call these points as discontinuities).
I don't feel very well with such points, the definition of functions says clearly that points should be defined in its domain and functions with undefined points break this rule which is unacceptable mathematics speaking.
So where am I wrong?