noasaservice
Joined 5 years ago
Joined 5 years ago
All these companies in this realm are vultures. They add nothing - they just take their cut to do something that should be easy.
Once it actually is usable, sure, I'll take a look.
min(a,b) + (max(a,b) - min(a,b))>>1
min(x, y)+( ((unsigned int)abs(x-y))>>1);
with no issue.
abs(x-y)is the distance between points x and y. We don't care about order here because of the absolute value. And by its nature, it will always be positive - hence unsigned.
We divide the distance between the points by 2. This always provides a solution that fits in the signed bounds of X and Y once you add to min(x,y).
And it costs an ABS, a subtract, a non-negative bitshift, and a min().
To make it more complete, a switch statement depending on type of input function would be needed to handle the various sizes of numbers. And then it'd be doing the same but for long int->unsigned long int etc.
The perfluro- line of chemicals are quite amazing.. if it werent for them being completely obnoxious and stay in the body like lead.
Snap is closed source garbage ware, with MS Windows forced updating and the terribleness of being 10x slower....
So here's how to "Snap-Off" your system https://haydenjames.io/remove-snap-ubuntu-22-04-lts/
Yes, it does. Windows is POSIX/FIPS-151
And in my case, all my siblings have deemed that our mother is indeed a narcissist. We're all no-contact with her. We're not docs, so med diagnosis is off the table... But you can definitely be a narcissist without being diagnosed with NPD.
I'll abandon this account and create another. It's not hard to game the "community" here.
And especially since you don't allow deletion of accounts, it's actually a good thing to regularly get new. Thank you for reminding me.