(50g) Integer Power of Ten Test
|
02-08-2018, 12:55 PM
Post: #1
|
|||
|
|||
(50g) Integer Power of Ten Test
For integer input the programme returns 1. for an integer power of 10 & 0. otherwise.
Code: « →STR SREV OBJ→ 1 SAME » |
|||
02-08-2018, 06:12 PM
(This post was last modified: 02-08-2018 08:39 PM by John Keith.)
Post: #2
|
|||
|
|||
RE: (50g) Integer Power of Ten Test
Wouldn't this be shorter and simpler with your ZREV program?
|
|||
02-08-2018, 06:50 PM
Post: #3
|
|||
|
|||
RE: (50g) Integer Power of Ten Test
Indeed, John, but who knows ZREV exists?
|
|||
02-08-2018, 08:40 PM
Post: #4
|
|||
|
|||
RE: (50g) Integer Power of Ten Test
Presumably, those who read your posts!
|
|||
02-09-2018, 05:37 AM
(This post was last modified: 02-09-2018 05:39 AM by Gerald H.)
Post: #5
|
|||
|
|||
RE: (50g) Integer Power of Ten Test
Just in case there's any doubt, the programme John proposes is
« ZREV 1 SAME » which is shorter & faster. |
|||
02-10-2018, 12:50 PM
Post: #6
|
|||
|
|||
RE: (50g) Integer Power of Ten Test
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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)