Euler's identity: Difference between revisions
m
→{{header|Ruby}}
(→{{header|Wren}}: Can now use Wren-complex for this task.) |
|||
Line 808:
=={{header|Ruby}}==
<lang ruby>
include Math
Math::E ** (Math::PI * 1i) + 1▼
# => (0.0+0.0i)</lang>
|