C++ Logo


Advanced search

Re: new approximately equal operators

From: Bjorn Reese <breese_at_[hidden]>
Date: Tue, 9 Jun 2020 00:58:01 +0200
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.

Received on 2020-06-08 18:01:11