In addition to what Carlo Beenakker stated, you can find a detailed introduction to Fourier Transforms, Spherical Harmonics and Wigner-D matrices with a focus on real-valued implementations [here at p. 51 ff.][1]. [1]: https://pub.uni-bielefeld.de/download/2913219/2913220/diss_ddiffert.pdf