Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. sincos()
Forum Updated to NodeBB v4.3 + New Features

sincos()

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 249 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JAC42
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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.

      (Z(:^

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved