Модуль: Math
Данный модуль отвечает за математические вычисления.
factorial(count);
// Находит факториал числа 19
writeln(FastPascal.factorial(19));
// Находит факториал числа 15 типа integer.
var i := 15;
writeln(FastPascal.factorialInt(i));toRadians(count);
// Перевод 60 градусов в радианы.
writeln(FastPascal.toRadians(60.0));toDegrees(count);
// Перевод 60 градусов в радианы.
writeln(FastPascal.toDegrees(2));findSquaredRoots(a, b, c, firstRoot, secondRoot, areRootsExist);
findGreatestCommonDivider(firstInt, secondInt);
Last updated