output of mod block is not correct
1 view (last 30 days)
Rachana Reddy Mamilla on 13 Aug 2018
Hello, Whenever we do arithmatic operations with the floating point variables there is a small precision error associated which leads to these results.This can be removed by subtracting the eps value and then apply mod. I'm not able to exactly reproduce your case but hope this and this would help you.