functions

how is the following function odd function
$ f(x)= (-1)^{[x]} $
where [x] is a greatest integer or floor of x function

Back to top