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

From: FRIGN <dev_AT_frign.de>
Date: Tue, 24 Jun 2014 15:19:22 +0200

On Tue, 24 Jun 2014 09:13:11 +0200
Martti Kühne <mysatyre_AT_gmail.com> wrote:

> #define CEIL(x) ((int)(x) + ((x) > 0))

Martti, you definitely are a candidate for the best macro-hack of
2014 ;).

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Tue Jun 24 2014 - 15:19:22 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 24 2014 - 15:24:06 CEST