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

From: FRIGN <dev_AT_frign.de>
Date: Sat, 21 Jun 2014 19:21:04 +0200

On Sat, 21 Jun 2014 19:08:49 +0200
FRIGN <dev_AT_frign.de> wrote:

> Just pull in math.h ffs!
> It's part of the standard library, so basically nothing is lost both
> for dynamically linked programs and statically linked ones.

Okay, so I pulled it in using ceilf and the binary-size changed:

180514 Bytes -> 180581 Bytes (delta 67 Bytes :O)

Remember, this is the size using glibc. With musl, this can be
different (probably much better).
As we aim to develop our software to be linked statically, using the
standard-library-functions instead of trying to do it on our own might
be the better choice.
67 Bytes are nothing.

What do you guys think?

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Sat Jun 21 2014 - 19:21:04 CEST

This archive was generated by hypermail 2.3.0 : Sat Jun 21 2014 - 19:24:07 CEST