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

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Mon, 23 Jun 2014 09:32:09 +0200

> > 67 Bytes are nothing.
>
> Its bigger than a whole executable has to be[0]. ;)
>
> Apart from that I think it's absolutely fine to use the math library for math.

For me it is ok to, but I think we are losing the point here. Why st has a
macro called CEIL instead of using ceil?, because it is used only with
integers, and in this case is faster use CEIL instead of calling ceil (with
or without tgmath.h). So the point is, do we need this optimization?

Regards,

-- 
Roberto E. Vargas Caballero
Received on Mon Jun 23 2014 - 09:32:09 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 23 2014 - 09:36:07 CEST