Find the set of values of x for which it satisfies −2≤[x]≤4. (where [ ] denotes the greatest integer function )