Re: Implement {get,set}_range_info() variants that work with value_range's

2018-11-09 Thread Martin Sebor
On 11/09/2018 03:02 AM, Aldy Hernandez wrote: On 11/8/18 4:47 PM, Martin Sebor wrote: On 11/08/2018 04:52 AM, Aldy Hernandez wrote: get/set_range_info() currently returns the extremes of a range. I have implemented overloaded variants that return a proper range. In the future we should use

Re: Implement {get,set}_range_info() variants that work with value_range's

2018-11-09 Thread Aldy Hernandez
On 11/8/18 4:47 PM, Martin Sebor wrote: On 11/08/2018 04:52 AM, Aldy Hernandez wrote: get/set_range_info() currently returns the extremes of a range.  I have implemented overloaded variants that return a proper range.  In the future we should use actual ranges throughout, and not depend on ra

Re: Implement {get,set}_range_info() variants that work with value_range's

2018-11-08 Thread Martin Sebor
On 11/08/2018 04:52 AM, Aldy Hernandez wrote: get/set_range_info() currently returns the extremes of a range. I have implemented overloaded variants that return a proper range. In the future we should use actual ranges throughout, and not depend on range extremes, as depending on this behavior

Re: Implement {get,set}_range_info() variants that work with value_range's

2018-11-08 Thread Jeff Law
On 11/8/18 7:44 AM, Aldy Hernandez wrote: > > > On 11/8/18 9:41 AM, Richard Biener wrote: >> On Thu, Nov 8, 2018 at 3:05 PM Aldy Hernandez wrote: >>> >>> >>> >>> On 11/8/18 8:59 AM, Richard Biener wrote: On Thu, Nov 8, 2018 at 12:52 PM Aldy Hernandez wrote: > > get/set_range_i

Re: Implement {get,set}_range_info() variants that work with value_range's

2018-11-08 Thread Aldy Hernandez
On 11/8/18 9:41 AM, Richard Biener wrote: On Thu, Nov 8, 2018 at 3:05 PM Aldy Hernandez wrote: On 11/8/18 8:59 AM, Richard Biener wrote: On Thu, Nov 8, 2018 at 12:52 PM Aldy Hernandez wrote: get/set_range_info() currently returns the extremes of a range. I have implemented overloaded

Re: Implement {get,set}_range_info() variants that work with value_range's

2018-11-08 Thread Richard Biener
On Thu, Nov 8, 2018 at 3:05 PM Aldy Hernandez wrote: > > > > On 11/8/18 8:59 AM, Richard Biener wrote: > > On Thu, Nov 8, 2018 at 12:52 PM Aldy Hernandez wrote: > >> > >> get/set_range_info() currently returns the extremes of a range. I have > >> implemented overloaded variants that return a pro

Re: Implement {get,set}_range_info() variants that work with value_range's

2018-11-08 Thread Aldy Hernandez
On 11/8/18 8:59 AM, Richard Biener wrote: On Thu, Nov 8, 2018 at 12:52 PM Aldy Hernandez wrote: get/set_range_info() currently returns the extremes of a range. I have implemented overloaded variants that return a proper range. In the future we should use actual ranges throughout, and not

Re: Implement {get,set}_range_info() variants that work with value_range's

2018-11-08 Thread Richard Biener
On Thu, Nov 8, 2018 at 12:52 PM Aldy Hernandez wrote: > > get/set_range_info() currently returns the extremes of a range. I have > implemented overloaded variants that return a proper range. In the > future we should use actual ranges throughout, and not depend on range > extremes, as depending

Implement {get,set}_range_info() variants that work with value_range's

2018-11-08 Thread Aldy Hernandez
get/set_range_info() currently returns the extremes of a range. I have implemented overloaded variants that return a proper range. In the future we should use actual ranges throughout, and not depend on range extremes, as depending on this behavior could causes us to lose precision. I am als