jsource icon indicating copy to clipboard operation
jsource copied to clipboard

Refactor / understand start of `make_scalar_integer`

Open codereport opened this issue 4 years ago • 0 comments

In jsrc/verbs/monadic/tally.cpp:

make_scalar_integer(J jt, int64_t k) -> array {
    if (xor_replicate_sign(k) <= NUMMAX) {
        return !zero_or_one(k) ? refactorme_num(k) : zeroionei(k);
    }

codereport avatar Jan 31 '21 00:01 codereport