(Free42) Utilities to view all digits - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (Free42) Utilities to view all digits (/thread-6872.html) |
(Free42) Utilities to view all digits - Werner - 09-17-2016 01:53 PM These utilities show all 34 digits of a number in scientific notation. All are written specifically for Free42, relying on its blazing speed. 1.SMX: split a number into signed mantissa and exponent A subroutine used in all utilities In: X: s.m.10^x Out: Y: s.m X: x Code: 00 { 48-Byte Prgm } 2.SHOW: Show all digits in ALPHA A straightforward approach using the Alpha register: will only work for reals. Code: 00 { 50-Byte Prgm } 3.D30: shows the 30 least significant digits in the menu. .grouped digits make for easy reading .small font .handles real, complex, matrix (both real and complex) Use EXIT for exiting. When a complex number is shown, pressing any menu key will switch between real and imaginary part. You can use the built-in SHOW (shift-RS) to show 12 digits of both parts. When a matrix is shown, use up and down arrows to navigate the matrix in a column-wise manner. Code: 00 { 165-Byte Prgm } 4.SB: Stack Browser .shows X and Y stack levels at the same time .use ENTER to alternate between most significant and least significant digits .only reals, shows "NaN" for anything else .medium font (4x6) .use UP and DOWN arrows (or Rv) to roll up and down respectively. .use Backspace (<-) to exit. [attachment=3952] [attachment=3951] No listing provided as it's full of special characters.. Attachments contain all programs in .raw format Cheers, Werner |