Skip to content

floating point errors when adding parts of entropy #6

@micsthepick

Description

@micsthepick

because we are doing up to 255 sequential additions, and not in any particular sequence, files with the same real entropy will have slightly different entropies displayed on the program's output. I suppose to fix this issue (if you see it as a proper issue) you could sort the counts by size with an appropriate integer sorting algorithm, or maybe there's a fp-precise compiler option missing?

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