relefos t1_itvqq8n wrote
Reply to comment by HaikuBotStalksMe in [WP] You are an NPC in an RPG. Normally, your attack is set to 1. However, a player used a cursed item on you, reducing your attack by 2, causing it to underflow, making you the most powerful in the game. by alegonz
I 100% agree, just clarifying that under flow has nothing to do with setting a lower bound on an int
Going lower than your lowest bound is still just overflow
Underflow is specifically when you try to represent a floating point number smaller than your float can possibly represent. ie 0.0000000001 instead of 0.00001
Just a semantics misunderstanding thing I see a lot bc it honestly is unnecessarily confusing 😂
HaikuBotStalksMe t1_itvtis3 wrote
And you're totally right to point it out! Thanks.
Viewing a single comment thread. View all comments