alalalalal
This commit is contained in:
parent
38d1411b97
commit
49ec2b6e28
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user