title: Smallest Integer Greater than Very Large Number
body: <p>I am trying to find the smallest integer greater than a very large number (for example, exp(5000000)). How would I go about doing this? If not programmatically (because this evaluates to infinity or overflow in MATLAB or my calculator), then mathematically? (Already tried exp(floor(log(exp(5000*1024)))) but that will just give infinity).</p>