Re: G_MINFLOAT definition?
- From: Sander Vesik <Sander Vesik Sun COM>
- To: James Henstridge <james daa com au>
- Cc: Erik Walthinsen <omega temple-baptist com>, gtk-devel-list gnome org
- Subject: Re: G_MINFLOAT definition?
- Date: Sun, 17 Jun 2001 20:45:24 +0100 (BST)
On Sun, 17 Jun 2001, James Henstridge wrote:
> On Sat, 16 Jun 2001, Erik Walthinsen wrote:
>
>
> The documentation should probably say that G_MINFLOAT is a float of the
> smallest magnitude possible, and have a note about using using -G_MAXFLOAT
> for the least float.
>
A normalised G_MINFLOAT would not be the smallest possible - there would
be denormals that are smaller. OTOH, glib probably should not rely on the
presence of IEEE compiliant floating point nor use denormals if possible.
But the documenattion should say oit is the smallest normalies float if
that is true.
> James.
>
> --
> Email: james daa com au
> WWW: http://www.daa.com.au/~james/
>
Sander
One day a tortoise will learn to fly
-- Terry Pratchett, 'Small Gods'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]