Important: Please read the Qt Code of Conduct -


  • Hello,

    I do a lot of numerical work, usually on Linux. Linux has a useful function in it's standard library called sincos(). Basically it shares computation between sin() and cos(). When I benched it, it was taking about half the time than calling both sin() and cos() separately. This is very useful because it is very common to compute both the sine and cosine of the same angle. I especially use it in inner loops. I would be very happy if I did not have to port this function myself, but have it in Qt. Any possibility of seeing this in Qt officialy?

  • Moderators

    I'd say the chances are very low. Qt is deprecating it's own algorithms in favor of all the goodness found in STL nowadays.

Log in to reply