Nasty Popsicle Machine

    6 packages found

    Rounds an integer up to a power of 2

    published 1.0.0 7 years ago
    M
    Q
    P

    Test whether an unsigned integer is a power of 2.

    published 0.0.7 6 months ago
    M
    Q
    P

    Find the smallest power of 2 with magnitude greater than or equal to input unless 0

    published 1.2.7 a year ago
    M
    Q
    P

    returns the next highest power of two

    published 1.0.0 7 years ago
    M
    Q
    P

    7 => [ 4, 2, 1 ]

    published 1.0.0 5 years ago
    M
    Q
    P

    whether a number is power of two

    published 1.0.0 7 years ago
    M
    Q
    P