SDL_2 Joystick axis normalization issue


#1

I am trying to normalize the x and y axis and the first analog stick and I am getting crazy results.

Is there something I am missing, I assume I am suppose to to get 0.707, 0.707 for a 45 degree angle.

I am getting values with an exponential after it.

Joypad is Xbox 360

Thanks