forked from Mirror/wren
Add .log to Num
This commit is contained in:
3
test/core/number/log.wren
Normal file
3
test/core/number/log.wren
Normal file
@ -0,0 +1,3 @@
|
||||
System.print(3.log) // expect: 1.0986122886681
|
||||
System.print(100.log) // expect: 4.6051701859881
|
||||
System.print((-1).log) // expect: nan
|
||||
Reference in New Issue
Block a user