C++ Logo


Advanced search

Subject: Re: [std-proposals] new approximately equal operators
From: Vishal Oza (vickoza_at_[hidden])
Date: 2020-06-08 18:02:07

Can you give an example of what you mean by "defining a <functional>
predicate" it the spaceship operator as an example?

On Mon, Jun 8, 2020 at 5:58 PM Bjorn Reese via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> 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 mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

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

Standard Proposals Archives on Google Groups