Re: [dev] [st] [PATCH] Explicit cast in CEIL macro

From: <stanio_AT_cs.tu-berlin.de>
Date: Wed, 25 Jun 2014 10:14:27 +0200

* FRIGN 2014-06-24 17:07
> Damn, you are right -.-. Back to the drawing board.

FWIW
        CEILmy(x) ((int)(x) + ((x) - (int)(x) > 0))


the porblem with CEIL(3.00000000000001) remains, though.

--s.
Received on Wed Jun 25 2014 - 10:14:27 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 25 2014 - 10:24:07 CEST