Jump to content

Euler's identity: Difference between revisions

→‎{{header|Julia}}: Updated to Julia 1.2
(→‎{{header|Julia}}: Updated to Julia 1.2)
Line 294:
 
=={{header|Julia}}==
{{works with|Julia|01.62}}
Julia has a builtin <tt>Complex{T}</tt> parametrized type.
 
<lang julia>@show e ^ (π * im) + 1
@assert e ^ (π * im) ≈ -1</lang>
 
{{out}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.