Skip to content

Conversation

@MercerMorning
Copy link
Owner

No description provided.

ni.vasilev and others added 16 commits December 8, 2022 21:17
Добавляет метод решения квадратного уравнения
This reverts commit 5d171ce.
This reverts commit 5fef562.
- Исправляет метод сравнения с нулём
- Добавляет выброс исключения при а = 0
- Добавляет новое исключение для равества нулю числа с плавающей точкой
Добавляет исправления
добавлен 11й пункт
добавлен 13й пункт
}

$discriminant = $b * $b - 4 * $a * $c;
if ($discriminant > 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$discriminant > eps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants