static int s21_includes_exponent(const char *buffer) { int res = 0;

for (char *p = (char *)buffer; *p; p++) { if (s21_strspn(p, "eE")) { res = 1;

Untitled.png

Untitled.png

static int s21_includes_exponent(const char *buffer) { int res = 0;

for (char *p = (char *)buffer; *p; p++) { if (s21_strspn(p, "eE")) { res = 1;