Skip to content

Numeric precision #69

Open
Open
@atomczak

Description

@atomczak

I see the current examples have varying numeric precision:

It would be good to establish a general number precision for IFCX. To start with, how about 6 digits after the comma? For length, that's 1 millionth of a meter - micrometre, which is a 1/50th of a human hair diameter. More than needed for AEC purposes, but enough to not have issues with rounded object geometry or conversion loss. Because we agreed to use the metric system for length (and SI for most of the quantity kinds), even if the project is in metres, the precision would remain.

Less than the agreed precision should also be allowed, for example, full numbers or single digits:

Alternatively, we could establish separate rounding per quantity kinds, for example, four digits for length (0.0001 m - thickness of a coarse hair), but seven digits for angles (for example, geographic latitude).

TODO:

  • add the agreed solution to the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions