Expression Function for: Log2 (x) - Binary Logarithm

   754   2   0
User Avatar
Member
5 posts
Joined: June 2019
Offline
I'm looking for the Log2(x) function in order to get the row/column values of a square COP2 mosaic.

Is there a built in Houdini VEX or Expression Function for binary logarithm? (Wiki [en.wikipedia.org])
User Avatar
Member
5 posts
Joined: June 2019
Offline
For the moment, I am using the conversion function:

log(n)/log(2)
User Avatar
Member
7803 posts
Joined: Sept. 2011
Offline
that's correct
  • Quick Links