alalalalal

This commit is contained in:
Rudolf Zambory 2025-03-07 11:39:01 +01:00
parent 38d1411b97
commit 49ec2b6e28

View File

@ -13,7 +13,7 @@ int is_valid_number(const char *str) {
return *endptr == '\0' || isspace(*endptr);
}
int horner(double coeffs[], int n, double x) {
double horner(double coeffs[], int n, double x) {
double result = coeffs[0];
for (int i = 1; i < n; i++) {
result = result * x + coeffs[i];