RE: [boost] Re: Date iterators in Boost Date-Time

2003-08-18 Thread Guillaume Melquiond
En réponse à Paul A. Bristow [EMAIL PROTECTED]: But as Michael Caine said Not a lot of people know that - so I trust you will explain what it does too for the benefit of us mere non-mathematical mortals! Paul I'm not sure to understand. Do you want me to explain what a convex hull is or to

Re: [boost] test_fp_comparisons and rounding errors

2003-07-05 Thread Guillaume Melquiond
On Sat, 5 Jul 2003, Beman Dawes wrote: fpt_abs may do a unary - operation. I'm assuming, perhaps incorrectly, that is essentially subtraction and subject to a possible rounding error. I don't think there is a system where the opposite of a representable number would not be a representable

Re: [boost] Re: Re: is_nan

2003-07-05 Thread Guillaume Melquiond
On Sat, 5 Jul 2003, Fernando Cacciola wrote: Thanks to Gabriel we may have an is_nan() right now. Is there anything else that the interval library uses which might be better packed as a compiler-platform specific routine? All the hardware rounding mode selection stuff. It's equivalent to the

Re: [boost] test_fp_comparisons and rounding errors

2003-07-05 Thread Guillaume Melquiond
On Sat, 5 Jul 2003, Beman Dawes wrote: So where does that leave us? There must be some reason Gennadiy's code is producing results one or two epsilons greater than expected. It's just because the testcases are wrong. For example, line 157, there is: tmp = 11; tmp /= 10;

Re: [boost] Re: is_nan

2003-07-04 Thread Guillaume Melquiond
On Fri, 4 Jul 2003, Fernando Cacciola wrote: Gabriel Dos Reis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] jvd [EMAIL PROTECTED] writes: | Dear boosters, | | seems like this code | | template typename T | bool is_nan( const T v ) | { |

Re: [boost] is_nan

2003-07-04 Thread Guillaume Melquiond
On 4 Jul 2003, Gabriel Dos Reis wrote: Toon Knapen [EMAIL PROTECTED] writes: | seems like this code | | template typename T | bool is_nan( const T v ) | { | return std::numeric_limitsT::has_quiet_NaN (v != v); | } | | does not work correctly on some

Re: [boost] is_nan

2003-07-04 Thread Guillaume Melquiond
On Fri, 4 Jul 2003, jvd wrote: [snip] does not work correctly on some machines. Could you be more specific. On which machines for instance ? Me, myself personally tested on Intel Celeron 733, OS WinXP. Compiler used: gcc 3.2 mingw port for windows. Also reported not to work on Sun

RE: [boost] Re: Math constants - nearest values

2003-06-25 Thread Guillaume Melquiond
On Sun, 22 Jun 2003, Paul A Bristow wrote: | Consequently, more than one constant out of 1 may suffer | from this problem. So it is rare, but it is not impossible. | It's why I was suggesting that a library should provide a | mean to know if a number representing a constant is the |

Re: [boost] Advanced match constants scheme

2003-06-20 Thread Guillaume Melquiond
On Thu, 19 Jun 2003, Augustus Saunders wrote: PS I'd like to hear more views on this - previous review comments were quite different, being very cautious about an 'advanced' scheme like this. I didn't react to this review at first because I was a bit disappointed by the content of the

RE: [boost] Advanced match constants scheme

2003-06-20 Thread Guillaume Melquiond
On Fri, 20 Jun 2003, Paul A Bristow wrote: [snip] | [*] It is not even true. Due to double rounding troubles, | using a higher precision can lead to a value that is not the | nearest number. Is this true even when you have a few more digits than necessary? Kahan's article suggested to

Re: [boost] Re: Advanced match constants scheme

2003-06-20 Thread Guillaume Melquiond
On Fri, 20 Jun 2003, Gennaro Prota wrote: | [*] It is not even true. Due to double rounding troubles, | using a higher precision can lead to a value that is not the | nearest number. Is this true even when you have a few more digits than necessary? Kahan's article suggested to me

Re: [boost] [test] first revision to 1.30.0

2003-06-10 Thread Guillaume Melquiond
On Tue, 10 Jun 2003, Gennadiy Rozental wrote: [snip] Update is available in cvs. Let me know about any issues. Are the directories libs/test/build/msvc??_proj really necessary? Or is it just a CVS mistake? Regards, Guillaume ___ Unsubscribe other

Re: [boost] Boost header and library dependency tables

2003-06-08 Thread Guillaume Melquiond
On Sun, 8 Jun 2003, John Maddock wrote: [snip] Finally, what are library dependencies? Sorry if it's a dumb question. But by looking at the results, I don't get the meaning of it. It's everything that's needed by the complete library - by it's test and example programs etc as well as the

Re: [boost] Boost header and library dependency tables

2003-06-07 Thread Guillaume Melquiond
On Sat, 7 Jun 2003, John Maddock wrote: A while ago Beman produced header dependency tables, unfortunately these began to get rather complicated and so were dropped, I've placed some alternative tables here: Boost header dependencies: http://www.regex.fsnet.co.uk/header_dependencies.html

Re: [boost] Should regression summary consider both pass and warnas passing?

2003-05-26 Thread Guillaume Melquiond
On Sun, 25 May 2003, Beman Dawes wrote: I think that Greg Comeau has a good point in his email below - reporting separate pass / warn / fail statistics in the regression summary can be misleading to naive readers. (What are naive readers trying to do with Boost? :-) ) I think this column is

Re: [boost] New configuration macro BOOST_INTEL

2003-05-23 Thread Guillaume Melquiond
Since nobody complained, I have added this new configuration macro. I didn't apply the patches for type_traits and regex (is there a way to know if Boost cvs contains the current version of a library or if all the changes will be destroyed the next time the maintainer commits a new version?).

Re: [boost] New configuration macro BOOST_INTEL

2003-05-23 Thread Guillaume Melquiond
On Fri, 23 May 2003, John Maddock wrote: I didn't apply the patches for type_traits and regex (is there a way to know if Boost cvs contains the current version of a library or if all the changes will be destroyed the next time the maintainer commits a new version?). They would benefit

Re: [boost] Configuration for Intel compiler

2003-05-14 Thread Guillaume Melquiond
On Wed, 14 May 2003, John Maddock wrote: Your patch does not fix the problem at all. Ah, I see I got the Intel version check backwards, fixed (hopefully!) Yes, this time the conditional is correct. Unfortunately, this patch is still not good: __ICL is not defined so it doesn't work. My

[boost] Configuration for Intel compiler

2003-05-11 Thread Guillaume Melquiond
Hi, I found a bug in the interval library. but when I corrected it, I stumbled over another problem: this bug was ironically what allowed the library to be correctly compiled with my version of the compiler (Intel compiler 7.1 for Linux). When I remove it, the library no longer works... The

[boost] Little bug in unit_test_result.cpp

2003-04-24 Thread Guillaume Melquiond
Hi, I'm not really interested in this file, but since gcc complained about an unitialized variable, I did fix it. And it is the first patch. So please apply it (and change the name of the enum item before, if necessary). However, by looking at the code, I found a good example of data

Re: [boost] Fix for some Interval library tests

2003-02-08 Thread Guillaume Melquiond
On Fri, 7 Feb 2003, Dave Gomboc wrote: I suggest adding another boost defect: BOOST_BROKEN_ADL (or similar) How about BOOST_LIBRARY_IMPL_VULNERABLE_TO_ADL? It's not that the compiler's ADL implementation is broken, it's that the library implementation isn't protected against ADL lookups

[boost] Some comments about the regression tests

2003-02-05 Thread Guillaume Melquiond
Hi, I tried to use the regression tests with the interval library; and it worked: I just ran run_tests.sh on a linux computer with gcc 3.2.2 and intel cc 7.0 and looked at the results. So, if nobody objects or does it before me, I will modify status/Jamfile so that it automatically handles the

[boost] Interval library merge

2003-01-20 Thread Guillaume Melquiond
Hi, I think the Interval Arithmetic library is ready to be merged from the boost-sandbox cvs into the main boost cvs. So cvs write rights will be needed; but before that, something must be decided: where to put the library? This question was already discussed on this mailing-list some times ago,

[boost] A little problem with unit-test

2003-01-13 Thread Guillaume Melquiond
Hi, I'm quite annoyed with 'unit-test' in a Jamfile. I don't know if it's my fault or not, but I hope somebody can help me with this problem. 'unit-test' doesn't seem to work anymore. Indeed, some times ago, when I was launching 'bjam ...', test programs were compiled, linked, chmod'd and finally

[boost] Typo in intel-linux-tools.jam

2002-12-18 Thread Guillaume Melquiond
Hi, Here is a small patch for a typo in tools/build/intel-linux-tools.jam At the beginning of the same file, the default version of ICC is set to be 5.0; but the 6.0 version has been available for a long time, and now even ICC 7.0 is available as a non-commercial version on intel.com. Maybe it's