The Dink Network

Checkbit 3 Available Now

Checkbit

June 21st 2022, 10:17 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
SlipDink has released a new version of Checkbit:

I've added the SUBSTANTIAL improvement to the original checkbit.c code provided by ebilV.

Of all the improved versions that ebilV provided to me a while back, I like chkbit3m.c the best. So, I added it to the checkbit development download on the DN.

#1 It allows for the same parameters as the previous checkbit (which turns out to be handy in the process of development, allowing me to search for numbers like 1073741824 to help me find where all the places are in code that use a certain bit).

#2 I like the internal efficiencies that the code uses, to reduce the number of executed lines needed for any one bit.
June 22nd 2022, 12:50 PM
goblins.gif
drone1400
Peasant He/Him Romania
C# nerd 
#1 It allows for the same parameters as the previous checkbit (which turns out to be handy in the process of development, allowing me to search for numbers like 1073741824 to help me find where all the places are in code that use a certain bit).

Huh, I never really thought about that, but it makes sense!

If only DinkC could parse hex or binary literals like 0x4000 or 0b00010000...