Closed aneels3 closed 3 years ago
Hi @mballance anything on this issue?
Hi @aneels3, I was able to have an initial look at this. It seems there was a bug in the 'rng' construct when one side was an expression. I've corrected that bug and correct answers are now returned. Unfortunately, the results are not random at all. It seems related to the size of the variables (32-bit signed) vs the reachable size (0..4095). Would it make sense to change the size of some variables? For example 16-bit unsigned?
Thanks, Matthew
Hi @mballance Sorry for the late response on this. For now, it seems like it resolved the issue for this particular test case but I will need the size of the variable to be 32 bit signed later on.
Closing this for now
Hi @mballance While checking the working of #38, I came across another issue where the solve order is not working.
I have created a test case to give you a better understanding of the issue.
In the above test case the
self.base
is giving a large value instead of value between invsc.rng(0,4095)
My output:-
Please let me know If I have missed something.
Regards, Anil