Skip to content

should HAPI metadata include details on numeric precision? #57

@jvandegriff

Description

@jvandegriff

Nand was wondering if there was a way for a server to let clients know what precision is available, or at least what is a reasonable precision to expect. The time values in some formats have very high precision which is often overkill. How can HAPI avoid this same time precision overkill? The same problem exists with time values and numeric data values.

We talked about this on a telecon on 2017-09-11. The consensus was not to add any precision indicators. For time values, the length field indicates a kind of precision. For numeric values, it is up to the server to output a reasonable number of digits for the data it is presenting. For binary data, everything is double precision or 32 bit integers, so there could be some waste there, but we have basically decided to put up with the waste for the sake of simplicity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions