[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 3.0.1 release?
From: |
John W. Eaton |
Subject: |
Re: 3.0.1 release? |
Date: |
Tue, 08 Apr 2008 15:28:51 -0400 |
On 8-Apr-2008, David Bateman wrote:
| Yes this is the issue... It seems the bitmax under windows if not
| returning the right value.. bitmax uses
|
| static_cast<double> (0x1FFFFFFFFFFFFFLL)
|
| as its definition and so perhaps its the "LL" at the end that is causing
| the issue as it really should be a "UL".. Can you try
|
| #include <iostream>
| int main (void)
| {
| uint64_t a = 0x001FFFFFFFFFFFFFUL^0x0007FFFFFFFFFFFFUL;
| double b = static_cast<double> (0x1FFFFFFFFFFFFFLL);
| double c = static_cast<double> (0x1FFFFFFFFFFFFFUL);
| std::cerr << 0x001FFFFFFFFFFFFFUL << std::endl;
| std::cerr << 0x0007FFFFFFFFFFFFUL << std::endl;
| std::cerr << a << std::endl;
| std::cerr << b << std::endl;
| std::cerr << c << std::endl;
| std::cerr << b - c << std::endl;
| return 0;
| }
|
| and see whether the last result is something other than zero.. If so I
| think we've found the issue.
Do you think we can resolve this issue soon, or should I release 3.0.1
without a fix for the problem?
jwe
- Re: 3.0.1 release? (report on mingw), (continued)
- Re: 3.0.1 release? (report on mingw), Tatsuro MATSUOKA, 2008/04/08
- Re: 3.0.1 release? (cygwin), Tatsuro MATSUOKA, 2008/04/08
- Re: 3.0.1 release?, Michael Goffioul, 2008/04/08
- Re: 3.0.1 release?, David Bateman, 2008/04/08
- Re: 3.0.1 release?, Michael Goffioul, 2008/04/08
- RE: 3.0.1 release?, Bateman David-ADB014, 2008/04/08
- Re: 3.0.1 release?, Michael Goffioul, 2008/04/08
- Re: 3.0.1 release?, David Bateman, 2008/04/08
- Re: 3.0.1 release?, Michael Goffioul, 2008/04/08
- Re: 3.0.1 release?, David Bateman, 2008/04/08
- Re: 3.0.1 release?,
John W. Eaton <=
- Re: 3.0.1 release?, Michael Goffioul, 2008/04/08
- Re: 3.0.1 release?, John W. Eaton, 2008/04/08
- Re: 3.0.1 release?, Michael Goffioul, 2008/04/09
- Re: 3.0.1 release?, David Bateman, 2008/04/09
- Re: 3.0.1 release?, Michael Goffioul, 2008/04/09
- Re: 3.0.1 release?, John W. Eaton, 2008/04/09
- Re: 3.0.1 release?, Marco Atzeri, 2008/04/10
- Re: 3.0.1 release?, Shai Ayal, 2008/04/08
- Re: 3.0.1 release?, Thomas Weber, 2008/04/09
Re: 3.0.1 release?, David Bateman, 2008/04/03