This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] libstdc++/22203, aka PowerPC vs numeric_limits<integer>::traps


Benjamin Kosnik wrote:

>    if (!std::numeric_limits<value_type>::traps)
>      value_type r = i/j;
>  
>
Thanks.

For the integer types at least, when traps is true (everywhere, besides
powerpc), we are not testing anything. In principle, we should look for
the signal...

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]