Mirror of CollapseOS
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

11 satır
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. )