Skip to content

IQR Loss of Precision #1

@a-penton

Description

@a-penton

Some values are losing precision in the IQR problem (2), likely because of the float return type. Example:

#include <iostream>
#include <iomanip>

int main()
{
    float n = 12777776.50;
    std::cout << std::fixed << std::setprecision(2) << n;  // 12777776.00
    return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions