C++ Logo


Advanced search

Subject: Re: [std-proposals] new approximately equal operators
From: Bjorn Reese (breese_at_[hidden])
Date: 2020-06-08 17:58:01

On 2020-06-08 21:52, Vishal Oza via Std-Proposals wrote:
> I was wondering if there is any interest in adding approximately equal
> to operators into the language. The main purpose is to compare floating
> point calculations with rounding error, however they could be used for

I suggest that you start by defining a <functional> predicate.

STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups