Quote:
1 [sto] J
0 [sto] K
1 [chs] Expon
returns -1.71828182846 instead of correct 0.
I tried to correct it but failed to find code for Expon. I found the distributions.wp34s in xrom folder, but Expon is not there. Where is it?
Expon bug in wp34s
|
|
« Next Oldest | Next Newest »
|
▼
Post: #2
07-13-2013, 03:12 PM
Quote: returns -1.71828182846 instead of correct 0. I tried to correct it but failed to find code for Expon. I found the distributions.wp34s in xrom folder, but Expon is not there. Where is it? ▼ ▼
Post: #4
07-13-2013, 04:21 PM
Here is a patch (I kind of tested it by building, flashing and trying).
Index: trunk/xrom/distributions/exponential.wp34s
Post: #5
07-13-2013, 05:01 PM
Since I was there, I think that similar bug in Expon_u should also be fixed.
Index: trunk/xrom/distributions/exponential.wp34s Edited: 13 July 2013, 5:01 p.m. ▼ ▼
Post: #7
07-13-2013, 11:49 PM
I am not sure what happened, but when I updated from SVN, the Expon_u became this: XLBL"CDFU_EXPON" the first instance "x<0? jmp ret_1" (right before [times]) was not in the patch and should not be there. |