explicit cast to avoid warning in rol/ror/ellipje unit test