Add a test for range reduction of trigonometric functions on non-x86.