(50g) Integer Power of Ten Test +- HP Forums (http://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 06:55 AM 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 12: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 11:37 PM Just in case there's any doubt, the programme John proposes is « ZREV 1 SAME » which is shorter & faster. |