Clean numeric expression like (1024 *1024) with unitied constant
Registered by
ChangBo Guo(gcb)
A lots of numeric expressions are needed to caculate byte number across Nova project,
such as 1024*1024 , 1024**3 etc. especially in nova/vrit
We can add constants and replace these numeric expressions . That makes code more readable .
Blueprint information
- Status:
- Complete
- Approver:
- Russell Bryant
- Priority:
- Undefined
- Drafter:
- ChangBo Guo(gcb)
- Direction:
- Needs approval
- Assignee:
- ChangBo Guo(gcb)
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- ChangBo Guo(gcb)
- Completed by
- ChangBo Guo(gcb)
Whiteboard
I think this is small enough cleanup that no blueprint is necessary. --russellb
Addressed by: https:/
Add byte unit constants
Addressed by: https:/
clean up numeric expressions with byte constants
Gerrit topic: https:/
Addressed by: https:/
clean up numeric expressions in test
(?)