Boost logo

Boost :

From: Leo Landa (leo_at_[hidden])
Date: 2002-10-10 18:20:55

On 10/10/2002, at 4:04 PM Paul A. Bristow wrote:

> I would be most grateful for anyone with a SPARC system and/or a VAX with H
> format)
> to test the calculation of constants (in this case pi) intervals.


The system I use is the following:

SunOS 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-60

The compiler is CC:

CC: Sun WorkShop 6 update 1 C++ 5.2 2000/09/11

It barked about a badly formed expression on line 71. I have changed

        long double two = long double(2.L);
        long double two = (long double)(2.L);

This compiled and produced the following output:

long double_significant_digits 36
std::numeric_limits<long double>::digits = 113
pi_l = 3.1415926535897932384626433832795028
pi = 3.1415926535897932384626433832795028
pi_u = 3.14159265358979323846264338327950318
middle is lower limit.

If you want to have some additional tests compiled and run, send your
sources to me.


Boost list run by bdawes at, gregod at, cpdaniel at, john at