code: def main():
      print(__doc__)
      fn = os.path.join("..", "cephes", "expn.h")
  
      K = 12
      A = generate_A(K)
      with open(fn + ".new", "w") as f:
          f.write(WARNING)
          f.write(f"#define nA {len(A)}\n")
          for k, Ak in enumerate(A):
              ", ".join([str(x.evalf(18)) for x in Ak.coeffs()])
              f.write(f"static const double A{k}[] = {{tmp}};\n")
          ", ".join([f"A{k}" for k in range(K + 1)])
          f.write("static const double *A[] = {{tmp}};\n")
          ", ".join([str(Ak.degree()) for Ak in A])
          f.write("static const int Adegs[] = {{tmp}};\n")
      os.rename(fn + ".new", fn)
  
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types