(49G) Exact Division to Integer Base
|
05-28-2015, 09:56 AM
(This post was last modified: 01-20-2018 08:34 AM by Gerald H.)
Post: #1
|
|||
|
|||
(49G) Exact Division to Integer Base
If you wish to calculate G/H in base B, G, H, B positive integers this is the programme.
eg For input 107 103 4567 the programme calculates 107/103 base 4567 & returns :4567: { 1 "." "°" 177 1640 2616 221 3192 2128 1418 3990 2660 1773 2704 3325 2216 4522 3015 487 3369 3768 4034 4212 1285 3901 4123 2749 310 1729 1152 3813 1019 3724 2483 133 88 3103 3591 2394 1596 1064 709 1995 1330 886 3635 3946 1108 2261 1507 2527 1684 4167 4300 4389 2926 1950 4345 1374 2438 3148 576 1906 2793 1862 1241 2350 44 1551 4079 1197 798 532 354 3281 665 443 1817 4256 2837 3414 753 3547 842 2083 4433 4478 1463 975 2172 2970 3502 3857 2571 3236 3680 931 620 3458 2305 3059 2039 2882 399 266 } where everything after the "°" recurs. Programme name: XdYB Code: :: |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(49G) Exact Division to Integer Base - Gerald H - 05-28-2015 09:56 AM
RE: (49G) Exact Division to Integer Base - Gerald H - 01-20-2018, 11:36 AM
RE: (49G) Exact Division to Integer Base - Gerald H - 01-20-2018, 11:46 AM
RE: (49G) Exact Division to Integer Base - Gerald H - 01-20-2018, 11:56 AM
|
User(s) browsing this thread: 1 Guest(s)