Skip to content

Decide on float formatting rule #59

@HoneyPony

Description

@HoneyPony

With the new Rust formatting library, of course, all of our old float printing tests are failing, because they just used the default %f formatting for C floats.

I kind of think I like Rust's default formatting a bit better, as it is something like "shortest accurate representation."

Still, ideally we figure out the most convenient formatting for our games, implement that, and then fix all the tests.

The other option would be to implement some sort of formatting specification syntax, and then make all the float-based tests specify a specific format. That way, even if the default format changes, the tests would keep passing.

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