Autodetect longdouble precision and set SymPy precision accordingly.