mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
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