Skip to content

sethebner/wren-complex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wren-complex

A module that implements complex numbers for the Wren programming language.

    import "complex" for Complex
    var zero = Complex.new()
    zero.toString // "0 + 0i"

    var z = Complex.new(1, 2)
    z.toString // "1 + 2i"
    z.conjugate.toString // "1 - 2i"

Running tests

To run tests, run this:

    wren test/test.wren

About

A module that implements complex numbers for the Wren programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published