Skip to content

Add Rounding Operations #30

@ShawSumma

Description

@ShawSumma

Rounding Ops would be great.

It would make up for the lack of tb_inst_fmod

a % b => a - trunc(a / b) * b
^^^^^        ^^^^^
 this   or   this

Either of these are needed to do a fast fmod.

Rounding has a native instruction on x86 and many other platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions