Bureaucrats, cc_docs_admin, cc_staff
2,318
edits
Line 21: | Line 21: | ||
= Code examples = | = Code examples = | ||
OpenACC can be used in | OpenACC can be used in [[Fortran]], [[C]] and [[C++]]. | ||
<tabs> | <tabs> | ||
<tab name="C"> | <tab name="C"> | ||
The following example computes an approximation of the transcendental number<math> | The following example computes an approximation of the transcendental number <math>/pi</math>, using an approximation to a definite integral, | ||
{{File | {{File | ||
|name=pi.c | |name=pi.c |