Update calc.cpp

this is edited doc