Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-10-12 08:59:45


Johan Råde wrote:

> Markus Schöpflin wrote:

>> Are you interested in test results from a Tru64/Alpha machine?

> Yes! I have not run any tests on Alphas.

Here you are:

bash-2.05b$ cxx -ieee -std strict_ansi -model ansi -no_pure_cname -I
/boost/regression/boost test.cpp -lm
ld:
Unresolved:
boost::math::detail::mask<long double128>::exponent
boost::math::detail::mask<long double128>::fraction
boost::math::detail::mask<long double128>::significand

Seems like there are some specializations missing in boost for long double.
When disabling the long double stuff I get the following results:

bash-2.05b$ cxx -ieee -std strict_ansi -model ansi -no_pure_cname -I
/boost/regression/boost test.cpp -lm && ./a.out
little endian
sizeof(long double) = 16

Testing float
Assertion failed: !(signbit)(x), file test.cpp, line 222
IOT/Abort trap

The inspect tool reports:

bash-2.05b$ cxx -ieee -std strict_ansi -model ansi -no_pure_cname -I
/boost/regression/boost inspect.cpp && ./a.out

little endian

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

0 00 00 00 00
sn. min 00 00 00 01
n. min 00 80 00 00
1 3f 80 00 00
4/3 3f aa aa ab
max 7f 7f ff ff
inf 7f 80 00 00
q. nan ff c0 00 00
s. nan 7f 85 55 55
-1 bf 80 00 00

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

0 00 00 00 00 00 00 00 00
sn. min 00 00 00 00 00 00 00 01
n. min 00 10 00 00 00 00 00 00
1 3f f0 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 7f f0 00 00 00 00 00 00
q. nan ff f8 00 00 00 00 00 00
s. nan 7f f5 55 55 55 55 55 55
-1 bf f0 00 00 00 00 00 00

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

0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sn. min 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
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
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 7f ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00
q. nan ff ff 80 00 00 00 00 00 00 00 00 00 00 00 00 00
s. nan 7f ff 55 55 55 55 55 55 55 55 55 55 55 55 55 55
-1 bf ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Markus


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