(50g) Integer Power of Ten Test - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (50g) Integer Power of Ten Test (/thread-10127.html) |
(50g) Integer Power of Ten Test - Gerald H - 02-08-2018 12:55 PM For integer input the programme returns 1. for an integer power of 10 & 0. otherwise. Code: « →STR SREV OBJ→ 1 SAME » RE: (50g) Integer Power of Ten Test - John Keith - 02-08-2018 06:12 PM Wouldn't this be shorter and simpler with your ZREV program? RE: (50g) Integer Power of Ten Test - Gerald H - 02-08-2018 06:50 PM Indeed, John, but who knows ZREV exists? RE: (50g) Integer Power of Ten Test - John Keith - 02-08-2018 08:40 PM Presumably, those who read your posts! RE: (50g) Integer Power of Ten Test - Gerald H - 02-09-2018 05:37 AM Just in case there's any doubt, the programme John proposes is « ZREV 1 SAME » which is shorter & faster. RE: (50g) Integer Power of Ten Test - Gerald H - 02-10-2018 12:50 PM Looking at the number of views of ZREV, John, a max of 97 viewers have seen what it is. As this thread has currently been viewed 99 times, it's just possible that it's all the same people, but probably not, so I think the programme with built in commands is the one to display. |