[WP34s] Add radix in show digits of x display

03162014, 07:43 AM
(This post was last modified: 03182014 06:38 AM by Jonathan Cameron.)
Post: #1




[WP34s] Add radix in show digits of x display
If you want to see all the digits in a number using the [f][<] command, the WP34s will show some of the digits in the upper display and the rest in the lower. Unfortunately, it omits the radix (decimal point or comma). I've put together a patch that addresses this for both singleprecision mode and doubleprecision mode. This patch inserts the correct radix depending on the current radix mode.
The changes only affect the function show_x() in display.c. This patch is for the WP34s trunk. But it should also work asis in the WP31s code. Since the patch is for the WP34s code, I've included the updated show_x() function code in the attached show_x.c file to make it simpler to apply (if the patch program has any difficulties with the patch file). The code is the same for both, but the doubleprecision mode parts of the code will never be exercised in the WP31s version. Here is what the display looks with PI in single precision mode: In doubleprecisoin mode, the display for the left part of PI looks like this: and the right part looks like this (no radix is displayed): Please give it a try and let me know if you encounter any problems with it. If it seems okay, I can incorporate it into both the WP34s and WP31s code. You can download versions for testing at: http://jmcameron.net/WP34s/downloads/ Jonathan 

« Next Oldest  Next Newest »

Messages In This Thread 
[WP34s] Add radix in show digits of x display  Jonathan Cameron  03162014 07:43 AM
RE: [WP34s] Add radix in show digits of x display  Paul Dale  03162014, 08:31 AM
RE: [WP34s] Add radix in show digits of x display  Marcus von Cube  03162014, 09:55 AM
RE: [WP34s] Add radix in show digits of x display  Jonathan Cameron  03162014, 03:41 PM
RE: [WP34s] Add radix in show digits of x display  walter b  03162014, 04:21 PM
RE: [WP34s] Add radix in show digits of x display  Jonathan Cameron  03162014, 10:15 PM
RE: [WP34s] Add radix in show digits of x display  Jonathan Cameron  03182014, 06:41 AM

User(s) browsing this thread: 1 Guest(s)