This adds a C89 implementation for nearbyint() as it is a function that is only made available in C99.