WP 34S and 31S bugs and fixes
|
06-10-2015, 07:45 AM
Post: #201
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
Feel free to look at the solver's source code and submit a patch that corrects the problem. It's a keystroke program and you need to be able to write these to use it.
I doubt I've got time to dig into this in the short to mid term future. - Pauli |
|||
06-10-2015, 12:14 PM
Post: #202
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
(06-10-2015 07:06 AM)Marcio Wrote: If you haven't already, please consider also taking at look at this strange behaviour in the solver. I've tested solver's behavior with the latest SVN sources and it seems to work OK. x^2-5x+6 with initial guesses 1 & 1.5 returns 2 as root. With guesses 1 & 3.5 returns 3 as root. So such bug seems to be solved. Regards. |
|||
06-10-2015, 01:06 PM
(This post was last modified: 06-10-2015 01:11 PM by Marcio.)
Post: #203
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
(06-10-2015 12:14 PM)emece67 Wrote:(06-10-2015 07:06 AM)Marcio Wrote: If you haven't already, please consider also taking at look at this strange behaviour in the solver. I saw that they'd edited the code but wasn't sure if this problem was addressed because I don't have a cable to update the actual machine FW and also couldn't find the latest version of the emulator. Glad the bug got fixed. Marcio |
|||
06-10-2015, 01:24 PM
Post: #204
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
(06-10-2015 01:06 PM)Marcio Wrote: ... I've found that the cable, purchased or homemade, is a big source of fun. In any case, if you are capable of compiling the emulator you can test it. Regards. |
|||
07-10-2015, 11:32 PM
(This post was last modified: 07-10-2015 11:42 PM by emece67.)
Post: #205
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
Apparently I've found another bug.
This time it is inside function decNumberLnGamma in file decn.c. It causes the LN[GAMMA] function to crash when called with negative arguments that have an odd integer part (say -1.5, -3.5, and so on). Problem is in lines 1853-1854 of decn.c that say: Code: // Figure out S * PI mod 2PI Code: // Figure out xin * PI mod 2PI Regards. |
|||
07-10-2015, 11:56 PM
Post: #206
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
Thanks for the fix. I've committed it to the repository and trimmed the ln Gamma code a bit.
- Pauli |
|||
07-17-2015, 01:33 PM
Post: #207
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
(07-10-2015 11:56 PM)Paul Dale Wrote: Thanks for the fix. I've committed it to the repository and trimmed the ln Gamma code a bit. A new build must wait until the repository is accessible again. Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basic-compare.html |
|||
08-27-2015, 11:06 AM
(This post was last modified: 08-27-2015 03:22 PM by 2far.)
Post: #208
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
On the WP-31S there is an unexpected display of thousands separators when using the SHOW feature (displaying all 16 digits used internally).
DISP settings: RDX. / TSOFF (thousands separators disabled) 2 [SHOW] 2.000,000,000,000,000 E000 Shouldn't the separators only show with TSON set (thousands separators enabled)? I figured they are showing after the decimal mark because there is always only one digit before decimal mark in this display ... otherwise I wouldn't have expected them to ever show. -Greg |
|||
08-27-2015, 04:09 PM
(This post was last modified: 08-27-2015 09:49 PM by 2far.)
Post: #209
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
(08-27-2015 11:06 AM)2far Wrote: Shouldn't the separators only show with TSON set (thousands separators enabled)? I figured they are showing after the decimal mark because there is always only one digit before decimal mark in this display ... otherwise I wouldn't have expected them to ever show. After some thought I guess this grouping might be useful because there are always 16 digits shown, so never mind. Thanks for all the good work. I really enjoy the hardware version! The grouping after the decimal mark really did surprise me at first ... |
|||
08-27-2015, 08:08 PM
(This post was last modified: 08-27-2015 08:09 PM by BarryMead.)
Post: #210
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
(08-27-2015 04:09 PM)2far Wrote: [quote='2far' pid='41165' dateline='1440673566'] I think the idea of the "Show" feature in the 31s is the same as that show digits "f x<>y" feature of the wp34s. These display modes are designed to show "ALL" of the number to the full significance of the decimal number floating point system. Since people often use these display modes to write down the numbers in a report or log, the separators help prevent errors while copying down the numbers. Think of it as an alternative way to display the number so that it can be copied down more accurately. |
|||
08-27-2015, 09:55 PM
Post: #211
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes | |||
09-13-2015, 02:37 AM
Post: #212
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
I see that NIST has a new list of CODATA 2014 recommended values of physical constants.
As such, I propose that compile_consts.c be edited to include the new values. specifically, lines ~218-~278 be amended to read: Code:
Since I'm just getting started here, I have not committed these changes. |
|||
09-13-2015, 03:08 AM
Post: #213
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
I'm having trouble diffing these changes -- the space has been mangled.
- Pauli |
|||
09-13-2015, 03:33 AM
Post: #214
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
Please see attached--should be easier this way.
https://www.diffchecker.com/r0s4vsz0 for attachment, remove '.txt' extension--cannot attach '.c' files |
|||
09-13-2015, 04:21 AM
Post: #215
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
Thanks for that. The changes look good.
- Pauli |
|||
09-23-2015, 06:19 AM
Post: #216
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
Not very sure about the expected behaviour of the AGM (arithmetic-geometric mean) function when one or two of the arguments is a negative number, but both my machine and the (Qt) emulator loop forever.
Regards. |
|||
09-23-2015, 06:51 AM
Post: #217
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
Yep, a bug. It ends up doing sqrt(negative) which is a NaN which stops the loop terminating.
Fix committed. It will be in the next build. - Pauli |
|||
09-23-2015, 08:54 AM
Post: #218
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
Thirty two minute bug fix time -- a new record for the 34S project.
- Pauli |
|||
09-23-2015, 09:56 PM
Post: #219
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes
Thanks!
|
|||
10-01-2015, 03:37 PM
(This post was last modified: 10-01-2015 03:38 PM by fhub.)
Post: #220
|
|||
|
|||
RE: WP 34S and 31S bugs and fixes | |||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)