Re: [boost] Re: is_nan

2003-07-26 Thread Gabriel Dos Reis
[EMAIL PROTECTED] writes: | En réponse à Gabriel Dos Reis [EMAIL PROTECTED]: | | [snip] | | | On a more general side, please keep in mind that *signaling* NaNs are meant to | | trap when used (used can be a simple copy, the standard leaves it | | implementation-defined). | | They trap

Re: [boost] Re: is_nan

2003-07-25 Thread Gabriel Dos Reis
[EMAIL PROTECTED] writes: | Sorry for the late reply, I was enjoying some peaceful holidays. There is no reason for sorrying. | En réponse à Gabriel Dos Reis [EMAIL PROTECTED]: | | Guillaume Melquiond [EMAIL PROTECTED] writes: | | | On Fri, 4 Jul 2003, Fernando Cacciola wrote: | | | |

Re: [boost] Re: is_nan

2003-07-25 Thread gmelquio
En réponse à Gabriel Dos Reis [EMAIL PROTECTED]: [snip] | We are speaking about quiet NaNs here. And so I | was justifying why the interval library computes v != v in order to | detect quiet NaNs. I never intended to speak about signaling NaNs. The point of my mail was that it is a

Re: [boost] Re: is_nan

2003-07-25 Thread Gabriel Dos Reis
[EMAIL PROTECTED] writes: | En réponse à Gabriel Dos Reis [EMAIL PROTECTED]: | | [snip] | | | We are speaking about quiet NaNs here. And so I | | was justifying why the interval library computes v != v in order to | | detect quiet NaNs. I never intended to speak about signaling NaNs. | |

Re: [boost] Re: is_nan

2003-07-25 Thread gmelquio
En réponse à Gabriel Dos Reis [EMAIL PROTECTED]: [snip] | On a more general side, please keep in mind that *signaling* NaNs are meant to | trap when used (used can be a simple copy, the standard leaves it | implementation-defined). They trap only when operands of arithmetic operations.

Re: [boost] Re: is_nan

2003-07-13 Thread Gabriel Dos Reis
Guillaume Melquiond [EMAIL PROTECTED] writes: | 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

Re: [boost] Re: is_nan

2003-07-13 Thread Gabriel Dos Reis
Joel de Guzman [EMAIL PROTECTED] writes: | Fernando Cacciola [EMAIL PROTECTED] wrote: | Gabriel Dos Reis [EMAIL PROTECTED] wrote in | | Yes. It is an incorrect (unfortunately popular) | implementation. | | Right. We should say that more often. It is incorrect | however popular. | |

Re: [boost] Re: is_nan

2003-07-13 Thread Joel de Guzman
Gabriel Dos Reis [EMAIL PROTECTED] wrote: Joel de Guzman [EMAIL PROTECTED] writes: Fernando Cacciola [EMAIL PROTECTED] wrote: Gabriel Dos Reis [EMAIL PROTECTED] wrote in Yes. It is an incorrect (unfortunately popular) implementation. Right. We should say that more often. It is

Re: [boost] Re: is_nan

2003-07-05 Thread Joel de Guzman
Fernando Cacciola [EMAIL PROTECTED] wrote: Gabriel Dos Reis [EMAIL PROTECTED] wrote in Yes. It is an incorrect (unfortunately popular) implementation. Right. We should say that more often. It is incorrect however popular. Most compilers provide a non standard extension for this

[boost] Re: is_nan

2003-07-04 Thread Fernando Cacciola
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 ) | { | return std::numeric_limitsT::has_quiet_NaN (v != v); | }

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 ) | { |