Skip to content

fp_floor_byte #15

@Johnlon

Description

@Johnlon

Been hoping to port this code to my own CPU and so reading the repo.
But I've gotten stuck on this shared function.
Can't for the life of me see how it works.

Is it used or is it junk and buggy?
Seems for positive numbers it return zero, and for negative numbers other weird results, non zero fraction value gets returned and so on.

Any clues?

fp_floor looks sane tho.

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