Re: [PATCH ] PR libstdc++/60037 - SIGFPE in std::generate_canonical

2014-07-29 Thread Ed Smith-Rowland
On 07/29/2014 04:29 AM, Jonathan Wakely wrote: On 29/07/14 04:11 -0400, Ed Smith-Rowland wrote: As discussed in the audit trail both _Adaptor and generate_canonical are both meant to use floating point values. Both are here given static_asserts to that effect. This would have prevented this e

Re: [PATCH ] PR libstdc++/60037 - SIGFPE in std::generate_canonical

2014-07-29 Thread Jonathan Wakely
On 29/07/14 04:11 -0400, Ed Smith-Rowland wrote: As discussed in the audit trail both _Adaptor and generate_canonical are both meant to use floating point values. Both are here given static_asserts to that effect. This would have prevented this error and might help future users. The main issu

[PATCH ] PR libstdc++/60037 - SIGFPE in std::generate_canonical

2014-07-29 Thread Ed Smith-Rowland
As discussed in the audit trail both _Adaptor and generate_canonical are both meant to use floating point values. Both are here given static_asserts to that effect. This would have prevented this error and might help future users. The main issue is the use of value_type in _Adaptor and thus in