Код: Выделить всё
class Test {
public static void main(String[] args) {
double result = Math.log(9) / Math.log(3);
System.out.println(result);
}
};
Код: Выделить всё
Linux 6.8.10-300.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 17 21:20:54 UTC 2024 x86_64 GNU/LinuxКод: Выделить всё
2.0
Код: Выделить всё
2.0000000000000004
Версия JDK, используемая на обеих машинах, — Temurin-21.0.3+9.< /п>
Подробнее здесь: https://stackoverflow.com/questions/785 ... -on-m3-mac
Мобильная версия