Mathematica > Mathematics and Algorithms > Numerical Evaluation & Precision > Display of Numbers >

CForm

CForm[expr]
prints as a C language version of expr.
  • Standard arithmetic functions and certain control structures are translated.
  • No declarations are generated.
  • CForm acts as a "wrapper", which affects printing, but not evaluation.
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team