On Tue, Jun 24, 2014 at 7:32 PM, FRIGN <d...@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 takes about 200%). cheers! mar77i