Ethereal-dev: Re: [Ethereal-dev] FT_DOUBLE vs. FT_FLOAT and floating point precision

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 23 Aug 2002 13:57:51 -0700
On Fri, Aug 23, 2002 at 09:54:56PM +0200, Ulf Lamping wrote:
> Is there any reason that there is no FT_FLOAT in proto.c (and other files)?

The only reason is that nobody's written code to add it.

Especially given that we now have routines to fetch IEEE
single-precision floating point numbers from tvbuffs, it might make
sense to add FT_FLOAT *and* make "proto_tree_add_item()" support both
FT_FLOAT and FT_DOUBLE.