Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2003 17:24:40 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/ia64/include float.h
Message-ID:  <20030401172440.701aaafd.Alexander@Leidinger.net>
In-Reply-To: <20030331082023.GE11307@cirb503493.alcatel.com.au>
References:  <200303272038.h2RKcM7L096560@repoman.freebsd.org> <20030327204935.GA18134@HAL9000.homeunix.com> <20030330175646.281097ad.Alexander@Leidinger.net> <20030331082023.GE11307@cirb503493.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Mar 2003 18:20:23 +1000
Peter Jeremy <peterjeremy@optushome.com.au> wrote:

> It's not clear exactly what this program is intended to test.

We noticed that icc does use other values for LDBL_MIN than we do, and
instead of just thinking that Intel does it right I wanted to verify it.
So I started with tests for float and double.

> > The *_MIN
> >values (or my test program) at least on i386 machines are wrong.
> 
> The *_MIN values represent the greatest negative value, not the
> smallest positive value.

*_MIN _is_ the smallest positive value... but the normalized one, not
the denormalized one I use. So yes, my program was wrong, but in another
way than you suggested. But I have to still say "thank you", your
comment resulted in rereading the (hopefully) appropriate docs and
noticing the "normalized" in them.

Thank you,
Alexander.

-- 
            0 and 1. Now what could be so hard about that?

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030401172440.701aaafd.Alexander>