Skip to content

LOG2 Function #33

@Hawkbat

Description

@Hawkbat

This would be extremely useful when paired with #32 for dynamic alignment calculations. For example, to align a section relative to the size of a struct, you could do ALIGN[LOG2(SIZEOF(StructName))]. The function would ideally take and return an integer with the fractional part truncated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions