pow2, pow3 and pow4

Home Forums Programming & Development Programming The headers pow2, pow3 and pow4

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #264

    Math_wam.h includes three functions which returns base raised to 2, 3 and 4. This function is declared as inline and is faster than pow(x,y).

    * If the exponent is different to 2, 3 or 4, the standar pow function must be used.
    * If the exponent is equal to 0.5 is faster to use sqrt(x) instead of pow(x,0.5)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Comments are closed.