03-16-2014, 07:43 AM
If you want to see all the digits in a number using the [f][<] command, the WP-34s 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 single-precision mode and double-precision 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 WP-34s trunk. But it should also work as-is in the WP-31s code. Since the patch is for the WP-34s 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 double-precision mode parts of the code will never be exercised in the WP-31s version.
Here is what the display looks with PI in single precision mode:
In double-precisoin 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 WP-34s and WP-31s code.
You can download versions for testing at:
http://jmcameron.net/WP-34s/downloads/
-Jonathan
The changes only affect the function show_x() in display.c. This patch is for the WP-34s trunk. But it should also work as-is in the WP-31s code. Since the patch is for the WP-34s 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 double-precision mode parts of the code will never be exercised in the WP-31s version.
Here is what the display looks with PI in single precision mode:
In double-precisoin 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 WP-34s and WP-31s code.
You can download versions for testing at:
http://jmcameron.net/WP-34s/downloads/
-Jonathan