-
Notifications
You must be signed in to change notification settings - Fork 106
Description
not a 'pro' ... sorry,
there are probably different goals, styles and understandings about 'shortest'. E.g. performance and the preference of scientific notation to save the comparison against non-scientific, preference of 'standard' notation also with zeros at the end to be faster in a reconversion ( plain read, no 'E' calculations ), or lowercase 'e' instead of uppercase 'E' notation as STL represents it in
comment on issue #199 .
For compatibility between different implementations, and e.g. to be able to compare the results in tests letter by letter instead of after a - possibly error-prone - reconversion into a binary figure, it would be nice to have a standard that everyone follows, or at least that they offer as an option.
After other experiences in IT I have to assume that there already are about a dozen standards and they argue about 'e' vs. 'E' or 'implementors choice' or 0.01 vs. 1E-2 or 'implementors choice' and the like, but I couldn't find one.
Is such already around, or is anyone in a position to initiate a standardization?
My suggestions would be:
- standard vs. scientific notation acc. shortest, saves space,
- ties to non-scientific, human friendly, easier str-to-bin,
- 'E' and not 'e', as it is common use IMHO,
thanks for any help and hints