How to use 'python math log' in Python

Every line of 'python math log' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
1722def log(x, context=None):
1723 """
1724 Return the natural logarithm of x.
1726 """
1727 return _apply_function_in_current_context(
1728 BigFloat,
1729 mpfr.mpfr_log,
1730 (BigFloat._implicit_convert(x),),
1731 context,
1732 )

Related snippets