Math: fix rounding also for long double.