On Sat, 21 Jun 2014 19:08:49 +0200 FRIGN <d...@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 <d...@frign.de>