while(bid < lobbying_cost) { bid = getMathematicalConstant(current_bid); }
edit: Although your algorithm is preferable !
while(bid < lobbying_cost) { bid = getMathematicalConstant(current_bid); }