[HP Prime]Program to count bits - word - binary [New app]
|
09-23-2022, 05:50 AM
(This post was last modified: 09-23-2022 03:21 PM by DrEureka.)
Post: #1
|
|||
|
|||
[HP Prime]Program to count bits - word - binary [New app]
Hello I leave this program I hope you will use whoever wants to use it, I am new in the PPL programming, apologize if there are better ways to improve the code.
https://tinypic.host/i/ingreso-programa.HaAfY Code:
|
|||
09-23-2022, 12:38 PM
Post: #2
|
|||
|
|||
RE: Program to count bits - word - binary
I’ve tried your program but found that LGVarNum is not defined which creates a syntax error.
Also can you provide some usage examples with input values and expected output results? |
|||
09-23-2022, 03:06 PM
Post: #3
|
|||
|
|||
RE: Program to count bits - word - binary
(09-23-2022 12:38 PM)Didier Lachieze Wrote: I’ve tried your program but found that LGVarNum is not defined which creates a syntax error. Hello, it has already been solved, as an example: if the first binary sign is 0 it is positive if it is 1 it is negative, and it gives you the maximum that covers the number of bits according to the input, for example if there are 4 digits you can set between +15 and -16. Thank you for your review, it helps me to continue improving. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)