diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/math/number/complex.lux | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/source/library/lux/math/number/complex.lux b/stdlib/source/library/lux/math/number/complex.lux index 0846ed3a8..6aa8bae30 100644 --- a/stdlib/source/library/lux/math/number/complex.lux +++ b/stdlib/source/library/lux/math/number/complex.lux @@ -33,15 +33,19 @@ #..imaginary (~ (maybe.else (' +0.0) ?imaginary))])))) (def: .public i + Complex (..complex +0.0 +1.0)) (def: .public +one + Complex (..complex +1.0 +0.0)) (def: .public -one + Complex (..complex -1.0 +0.0)) (def: .public zero + Complex (..complex +0.0 +0.0)) (def: .public (not_a_number? complex) |