It’s a normal practice to use SafeMath library while applying basic mathematical operations on Ethereum smart contracts.