For FPGA target, you can compute exponential using High Throughput Exponential Function.
but computes e raised to the power of x. The value of x must be in the range [–1, 1].
This VI can compute exponential value exceeds the range.
Thank you for the VI, however, it does not give any ouput for x greater than or equal to 22.2, what can be the reason for that?
Aalso any other way to implement exponential in FPGA for any range of x?
For anyone still searching for this answer, see the bottom of the help on the High Throughput Exponential Function (http://zone.ni.com/reference/en-XX/help/371599P-01/lvfpga/ht_exponential/)
x must be in the range [–1, 1). To compute exp(x) when x is outside this range, find an integer q and a real number r, where r is in the range [0, ln(2)), such that x = q × ln(2) + r. You then can compute 2^q × exp(r), which is equivalent to exp(x). Because r is in the valid range of [–1, 1), you can use this function to compute exp(r).