Skip to content

Correct name for function iDontKnowWhatThisDoes() #16

@nintendoeats

Description

@nintendoeats

This function returns a number with at least the same magnitude (positive or negative) as var0, but which is also divisible by var1. An appropriate name might be findNextLargestNumberEvenlyDivisibleBy or similar.
It appears that the only place where this is used, it is being used to figure out how many 64-bit chunks are required to store some data. So for example, if you have 92 bits of data to store, it will return 128 (which the caller then divides by 64 to get 2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions