tan implementation for 128-bit long double.