-
Notifications
You must be signed in to change notification settings - Fork 7
Description
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.