Euler's identity: Difference between revisions

m
(→‎{{header|Wren}}: Can now use Wren-complex for this task.)
Line 808:
=={{header|Ruby}}==
<lang ruby>
include Math
Math::E ** (Math::PI * 1i) + 1
 
Math::E ** (Math::PI * 1i) + 1
# => (0.0+0.0i)</lang>
 
1,149

edits