Run ❯
Get your
own Java
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main { public static void main(String[] args) { System.out.println(Math.log(6)); System.out.println(Math.log(Math.E)); System.out.println(Math.log(2)); System.out.println(Math.log(1)); System.out.println(Math.log(0)); System.out.println(Math.log(-1)); } }
1.791759469228055
1.0
0.6931471805599453
0.0
-Infinity
NaN