(50G) Large Integer to Base 10 Log Programme
|
05-24-2015, 06:45 PM
Post: #7
|
|||
|
|||
RE: HP 50G: Large Integer to Base 10 Log Programme
Just for those interested, here a programme taking integer input & returning base ten log as a long real. For the 2,000 digit integer above the programme returned
%% 1.99978513184057E3 PARI answered the same problem with 1999.785131840567325356093351 Name of programme: LONGLOG :: CK1&Dispatch # FF :: DUP Z0_ Z<= caseSIZEERR FPTR2 ^Z>S DUPLEN$ #1- OVER BINT13 1_#1-SUB$ FPTR2 ^S>Z FPTR2 ^Z>R %MANTISSA %>%% ROT BINT13 LAST$ CHR_. >H$ CHR_0 >H$ palparse DROP %>%% %% 1E11 %%/ %%+ %%LN %%10 %%LN %%/ SWAP UNCOERCE%% %%+ ; ; |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(50G) Large Integer to Base 10 Log Programme - Gerald H - 05-21-2015, 07:14 AM
RE: HP 50G: Large Integer to Base 10 Log Programme - Gerald H - 05-21-2015, 04:24 PM
RE: HP 50G: Large Integer to Base 10 Log Programme - Joe Horn - 05-21-2015, 07:01 PM
RE: HP 50G: Large Integer to Base 10 Log Programme - Gerald H - 05-21-2015, 09:14 PM
RE: HP 50G: Large Integer to Base 10 Log Programme - Joe Horn - 05-23-2015, 04:44 AM
RE: HP 50G: Large Integer to Base 10 Log Programme - Gerald H - 05-23-2015, 06:57 AM
RE: HP 50G: Large Integer to Base 10 Log Programme - Gerald H - 05-24-2015 06:45 PM
RE: HP 50G: Large Integer to Base 10 Log Programme - peacecalc - 05-27-2015, 09:06 PM
|
User(s) browsing this thread: 3 Guest(s)