mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 06:08:41 +01:00
I've had a couple use cases in time that the code is significantly clearer with these, and makes porting less error prone
4 lines
163 B
Plaintext
4 lines
163 B
Plaintext
System.print(5.exp) // expect: 148.41315910258
|
|
System.print(10.exp) // expect: 22026.465794807
|
|
System.print((-1).exp) // expect: 0.36787944117144
|