Use long double instead of long long.