Jihwan_Park
Newbie level 4
Hi,
I want to calculate ln(1+x)in verilog A. I know that the code is
I want to calculate ln(1+x)in verilog A. I know that the code is
But if the x value becomes very small(ex x=3.52e-18), the y value becomes zero. In MATLAB, I can calculate likey = ln(1+x);
and I want to calculate like that code. How can I calculate more accurately?y=log1p(x);