diff options
author | João Valverde <j@v6e.pt> | 2022-07-21 12:44:49 +0100 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-08-02 13:16:46 +0000 |
commit | 80f16015e2af296fb5ab8f676979bfed9731171f (patch) | |
tree | dfb8ee5ec394efce82985c6643917d082339e424 /doc | |
parent | 269e4b7d10757df04a4d4122ebeb68edf7713922 (diff) |
epan: Refactor floating point display types
Remove the redundant BASE_FLOAT field display type. The name
BASE_FLOAT is meaningless and the value aliased to BASE_NONE.
Require BASE_NONE instead of BASE_FLOAT (corresponding to
the printf() %g format).
Add new float display types using BASE_DEC, BASE_HEX and BASE_EXP
corresponfing to %f, %a and %e respectively.
Add support for BASE_CUSTOM with floats.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.dissector | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/README.dissector b/doc/README.dissector index 73c7d7af05..cf1f0b7b78 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -162,6 +162,12 @@ FIELDDISPLAY --For FT_UINT{8,16,24,32,40,48,56,64} and BASE_NONE can be used in the same way as with FT_UINT8. + --For FT_FLOAT, FT_DOUBLE: + BASE_NONE, BASE_DEC, BASE_HEX, BASE_EXP or BASE_CUSTOM. + + BASE_NONE uses BASE_DEC or BASE_EXP, similarly to the + %g double format for the printf() function. + --For FT_ABSOLUTE_TIME: ABSOLUTE_TIME_LOCAL, ABSOLUTE_TIME_UTC, or |