Mirror of CollapseOS
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

11 рядки
425B

  1. ( parsed is tight, all comments ahead. We read the first char
  2. outside of the loop because it *has* to be nonzero, which
  3. means _pdacc *has* to return 0.
  4. Then, we check for '-'. If we get it, we advance by one,
  5. recurse and invert result.
  6. We loop until _pdacc is nonzero, which means either WS or
  7. non-digit. 1 means WS, which means parsing was a success.
  8. -1 means non-digit, which means we have a non-decimal. )