Post Reply 
Output from WAIT(-1)
01-07-2021, 04:54 AM (This post was last modified: 01-07-2021 04:56 AM by Joe Horn.)
Post: #2
RE: Output from WAIT(-1)
When Prime displays a binary integer in Home in this form:

#123:16h

the trailing part :16h means that it's a 16-bit word, which is different from the current Home Setting for the default word size of binary integers. Try this: type #123 and press Enter. You'll see #123h by itself. Now go into Home Settings and change the default Integers word size to 16, and go back into Home. The result that previously looked like "#123h" now shows its wordsize, because it's now different from the default. Type #123 Enter, and reset the default word size to 32 (or 64 or whatever you prefer). Once again the previous results will look different, with their word size being displayed after a colon unless their word size is the same as the current default.

EDIT: If the word size is displayed as negative, it means that the binary integer was created as a signed number, not an unsigned number (settable at the end of the Integers line in Home Settings).

Hope that made sense!

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Output from WAIT(-1) - cahlucas - 01-06-2021, 09:57 PM
RE: Output from WAIT(-1) - Joe Horn - 01-07-2021 04:54 AM
RE: Output from WAIT(-1) - cahlucas - 01-08-2021, 04:55 PM
RE: Output from WAIT(-1) - Joe Horn - 01-08-2021, 10:20 PM
RE: Output from WAIT(-1) - cahlucas - 01-09-2021, 06:14 PM
RE: Output from WAIT(-1) - cahlucas - 01-09-2021, 09:36 PM



User(s) browsing this thread: 1 Guest(s)