Adding long double detection