(49G) Convert Integer from Integer Base A to Integer Base B
|
07-15-2022, 06:45 PM
Post: #3
|
|||
|
|||
RE: HP 49G: Convert Integer from Integer Base A to Integer Base B
(07-15-2022 10:27 AM)Gerald H Wrote: eg The stack We can go from base b1 to base b2, by synthetic division. b2 = b1 - 1 1 > 17 56 9797 4 1 > 17 73 9870 9874 1 > 17 90 9960 1 > 17 107 Results might require doing carries (in base b2), to limit digits = 0 .. b2-1 This avoided the steps of getting N, and the reverse of N to base b2. N = horner([17, 56, 9797, 4], b1) = 116148179948924836904678 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(49G) Convert Integer from Integer Base A to Integer Base B - Gerald H - 07-15-2022, 10:27 AM
RE: HP 49G: Convert Integer from Integer Base A to Integer Base B - John Keith - 07-15-2022, 01:09 PM
RE: HP 49G: Convert Integer from Integer Base A to Integer Base B - Albert Chan - 07-15-2022 06:45 PM
RE: HP 49G: Convert Integer from Integer Base A to Integer Base B - Gerald H - 07-16-2022, 09:07 AM
RE: HP 49G: Convert Integer from Integer Base A to Integer Base B - Gerald H - 07-16-2022, 12:54 PM
RE: HP 49G: Convert Integer from Integer Base A to Integer Base B - John Keith - 10-02-2022, 08:38 PM
RE: (49G) Convert Integer from Integer Base A to Integer Base B - John Keith - 01-06-2023, 07:02 PM
|
User(s) browsing this thread: 3 Guest(s)