Do what we all have to do when we write code: test it and see.
Compile the code, run the coffee, and work out what results you should get -
Wolfram Alpha[
^] may help - and then see what your code produces. If it's the same for all values you try, then it probably works.
If it doesn't...