How to saturate addition and subtraction beyond Integer.MAX_VALUE and Integer.MIN_VALUE in Java?

后端 未结 0 550
粉色の甜心
粉色の甜心 2021-02-04 22:03

I am new to coding, so I apologise for any stupid mistakes that I must have made.

following is the piece of code I am trying to implement.

if(n1>0&&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题