Math.pow의 반환값이 double인데 강제로 long으로 변환하면 손실이 있나요??
https://www.java67.com/2014/11/how-to-convert-double-to-long-in-java-example.html