CalcC with indentation for porting