Why are there restrictions on the domains of inverse trigonometric functions

1 answer

to restrict the domain to a single period (or half-period)
cos(0) = 1
cos(2π) = 1
so what is cos-1(1) supposed to be?