On Tue, Jun 24, 2014 at 03:33:10PM +0200, FRIGN wrote:
> However, I favor Martti's verson, which is just plain genius:
>
> CEIL(x) ((int)(x) + ((x) > 0))

Perhaps I'm missing something here, but this completely fails whenever
(x) is already a whole number; CEIL(3.0) => 4.0 which is not the correct
behaviour.

Eric

Reply via email to