Adds a CLUTTER_NEARBYINT macro for float rounding
Adds a CLUTTER_NEARBYINT macro for float rounding

This is a replacement for the nearbyint function which always rounds to
the nearest integer. nearbyint is a C99 function so it might not always
be available but also it seems in glibc it is defined as a function call
so this macro could end up faster anyway. We can't just add 0.5 because
it will break for negative numbers.

Signed-off-by: Neil Roberts <822ec91a7ef82248fd36162ca8ac3283eba70848@linux.intel.com>
Signed-off-by: Emmanuele Bassi <049ee2061f71220e5aaf33f5be422fc2a2b06a44@linux.intel.com>

Distrotech/clutter,ebassi/clutter,djdeath/clutter-android,spatulasnout/clutter,GNOME/clutter,kerrickstaley/clutter-vala,GNOME/clutter,jigpu/clutter,djdeath/clutter,spatulasnout/clutter,djdeath/clutter,ebassi/clutter,jigpu/clutter,djdeath/clutter,heysion/clutter-clone,djdeath/clutter-android,heysion/clutter-clone,jigpu/clutter,GNOME/clutter,Distrotech/clutter,collects/clutter,kerrickstaley/clutter-vala,Distrotech/clutter,GNOME/clutter,ebassi/clutter,djdeath/clutter-android,collects/clutter,djdeath/clutter-android,spatulasnout/clutter,djdeath/clutter-multithreaded,jigpu/clutter,Distrotech/clutter,kerrickstaley/clutter-vala,djdeath/clutter,heysion/clutter-clone,GNOME/clutter,heysion/clutter-clone,Distrotech/clutter,spatulasnout/clutter,ebassi/clutter,kerrickstaley/clutter-vala,heysion/clutter-clone,collects/clutter,jigpu/clutter,collects/clutter,djdeath/clutter-multithreaded,djdeath/clutter-multithreaded,ebassi/clutter,djdeath/clutter,djdeath/clutter-multithreaded,djdeath/clutter-android,Distrotech/clutter,collects/clutter,djdeath/clutter,spatulasnout/clutter,jigpu/clutter