Skip to content

Propose and discuss adding two new data types: 32-bit float and 64-bit int #285

Description

@jbfaden

When discussing the file listing specification, Jon and I realized that the complexity of using units to describe files bigger than 2GB (with "KiB" for units, for example) could be avoided if we simply allowed long (64-bit signed integer) data. I've also thought that we ought to have a float type (4-byte real number) as well, since these are often used in CDF and would avoid issues with round-off.

We should discuss the impacts of allowing this data type in HAPI 4.0. I suspect it would be relatively trivial to implement in each data system. Servers needn't implement, so there's no burden on them, and for clients this would be simply detecting new string values and handling these values, which are often put into long and double fields anyway.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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