Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-12-06 06:35:55


Johan Råde wrote:

> I have uploaded version 20 to the vault.
>
> Try again, without -ieee.
> It should work now.
> Also run the inspect tool, even if the tests work.

Compiler version:

> cxx -V
Compaq C++ V7.1-006 for Compaq Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V7.1-006 (cxx) cxx Driver

OS-Version as given by uname:

> uname -a
OSF1 xxx V5.1 2650 alpha

Note that the official OS name is Tru64 UNIX V5.1B.

Here are the results of the inspect tool:

fpclassify/tools/inspect> cxx -D__USE_STD_IOSTREAM -I /vol2/boost/boost
inspect.cpp -lm && ./a.out

This platform is little-endian.
BOOST_LITTTLE_ENDIAN is defined.

---------- float --------------------

0 00 00 00 00
sn.min -- -- -- --
-sn.min -- -- -- --
n.min/256 00 00 00 00
n.min/2 00 00 00 00
-n.min/2 00 00 00 00
n.min 00 80 00 00
1 3f 80 00 00
3/2 3f c0 00 00
4/3 3f aa aa ab
max 7f 7f ff ff
inf -- -- -- --
q.nan -- -- -- --
s.nan -- -- -- --

---------- double -------------------

0 00 00 00 00 00 00 00 00
sn.min -- -- -- -- -- -- -- --
-sn.min -- -- -- -- -- -- -- --
n.min/256 00 00 00 00 00 00 00 00
n.min/2 00 00 00 00 00 00 00 00
-n.min/2 00 00 00 00 00 00 00 00
n.min 00 10 00 00 00 00 00 00
1 3f f0 00 00 00 00 00 00
3/2 3f f8 00 00 00 00 00 00
4/3 3f f5 55 55 55 55 55 55
max 7f ef ff ff ff ff ff ff
inf -- -- -- -- -- -- -- --
q.nan -- -- -- -- -- -- -- --
s.nan -- -- -- -- -- -- -- --

---------- long double --------------

0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sn.min -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-sn.min -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
n.min/256 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
n.min/2 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00
-n.min/2 80 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00
n.min 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1 3f ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00
3/2 3f ff 80 00 00 00 00 00 00 00 00 00 00 00 00 00
4/3 3f ff 55 55 55 55 55 55 55 55 55 55 55 55 55 55
max 7f fe ff ff ff ff ff ff ff ff ff ff ff ff ff ff
inf -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
q.nan -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
s.nan -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Here are the results of the test:

fpclassify/test> cxx -D__USE_STD_IOSTREAM -I /vol2/boost/boost test.cpp -lm
&& ./a.out
fp_traits<float>::type is specialized
fp_traits<double>::type is specialized
fp_traits<long double>::type is generic
sizeof(long double) = 16

Testing float
Testing double
Testing long double

Markus


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk