C++ Logo

std-proposals

Advanced search

Re: new approximately equal operators

From: Vishal Oza <vickoza_at_[hidden]>
Date: Mon, 8 Jun 2020 18:02:07 -0500
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
>

Received on 2020-06-08 18:08:05