/luajit-complex

Arithmetic for complex numbers (moved https://github.com/semyon422/aqua)

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

luajit-complex

Arithmetic for complex numbers

local cmath = require("cmath")
assert(1i ^ 1i == math.exp(-pi / 2))