public static final double LOG2E = Math.log(Math.E) / Math.log(2);
これで求められます。
どこかに定数で置いておくといいでしょう。
More than 5 years have passed since last update.
public static final double LOG2E = Math.log(Math.E) / Math.log(2);
これで求められます。
どこかに定数で置いておくといいでしょう。
Register as a new user and use Qiita more conveniently