code: def test_log10():
      x = Symbol("x")
  
      # Expand
      assert log10(x).expand(func=True) - log(x) / log(10) == 0
  
      # Diff
      assert log10(42 * x).diff(x) - 1 / (log(10) * x) == 0
      assert (
          log10(42 * x).diff(x)
          - log10(42 * x).expand(func=True).diff(x)
          == 0
      )
  
file_path: sympy/sympy/codegen/tests/test_cfunctions.py
imports: from sympy.core.numbers import Rational, pi
  from sympy.core.singleton import S
  from sympy.core.symbol import Symbol, symbols
  from sympy.functions.elementary.exponential import exp, log
  from sympy.codegen.cfunctions import expm1, log1p, exp2, log2, fma, log10, Sqrt, Cbrt, hypot
  from sympy.core.function import expand_log
label_desc: Use image node_id 6 for calling a global function with example usage: test_log10() without return types