pint.utils.require_longdouble_precision

pint.utils.require_longdouble_precision()[source]

Raise an exception if long doubles do not have enough precision.

Raises RuntimeError if PINT cannot be run with high precision on this machine.