Re: [dev] [st] [PATCH] Explicit cast in CEIL macro
On Tue, Jun 24, 2014 at 7:47 PM, Martti Kühne <mysatyre_AT_gmail.com> wrote:
> On Tue, Jun 24, 2014 at 7:32 PM, FRIGN <dev_AT_frign.de> wrote:
>>
>> CEIL(x) ((int)(x) + ((x) > 0 && (int)(x) != (x)))
>>
>
> There are insignificant differences to results with this number
> (256.99999), but it's a significantly faster than glibc's ceilf (which
sorry. -256.99999
cheers!
mar77i
Received on Tue Jun 24 2014 - 19:49:58 CEST
This archive was generated by hypermail 2.3.0
: Tue Jun 24 2014 - 20:00:09 CEST