public static final double LOG2E = Math.log(Math.E) / Math.log(2);
これで求められます。
どこかに定数で置いておくといいでしょう。
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
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
Go to list of users who liked