#14295 (3-1-5.p5): Fix build error with GCC 4.7.x on Solaris due to overloaded floor() and log10().

=== singular-3-1-5.p5 (Leif Leonhardy, March 18th 2013) ===
 * #14295: Singular fails to build with GCC 4.7.x on Solaris.
   On Solaris, with `__cplusplus

PR for issues #14295, #14295