Say I have a contract with several functions that apply various particular constants.
circumference = 628318 * radius / 1e5; dividend = balance * 123 / 1e4;
It would be easier for readers to understand my contract by having these constants defined at the top, and then :
uint public constant tau = 628318; uint public constant dividendYield = 123; ... circumference = tau * radius / 1e5; dividend = balance * dividendYield / 1e4;
Is there a significant extra memory cost for doing this?