Forum Discussion
Altera_Forum
Honored Contributor
17 years agoImplementing Power operator
Hi, The power operator available with Verilog takes the base value 2 only !! i.e it will only perform operation: Result = 2 ** exponent. But, say if I want to take the base val...
Altera_Forum
Honored Contributor
17 years agoThank you both,
Actually my real problem is that, I have to apply exponential transformation on a greyscale image, so that I can bring out its overexposed parts. So, I guess my base will be a constant a little greater than 1, say 1.01 and exponent will be the greyscale values from 0 to 255.