Jihwan_Park
Newbie level 4
- Joined
- Feb 1, 2021
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 60
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);