Post Reply 
(Free42) tips & tricks: local flags
10-29-2020, 03:41 PM
Post: #40
RE: (Free42) tips & tricks: local flags
(07-24-2020 10:19 AM)Paul Dale Wrote:  A 64 bit binary float can safely hold 62 flags:
...
All 64 bits could be used at a pinch if no operations were ever done.

I recently learned that quiet/signal NaN bit may change even if no operations were done on it.
Just copying the double, say x = x, may flip the bit (turn NaN quiet)

So, maximum number of bits that can be used for flags is 63.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (Free42) tips & tricks: local flags - Albert Chan - 10-29-2020 03:41 PM



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