unsigned short promotes to SIGNED int?! why... why did you do this to us C ?!
https://htmlpreview.github.io/?https://raw.githubusercontent.com/robertramey/safe_numerics/master/doc/html/promotion_policies/automatic.html
want!
#cpp
@iron_bug yes It's c++ that fixes c degeneracy that I mentioned :P
Promoting unsigned short to signed int is absolutely insane, cause multiplication might overflow it, which is: surprise surprise, undefined behavior in your face!
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.