<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_approx.hpp, branch v1.12.2</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>Make Approx::margin inclusive</title>
<updated>2017-10-30T20:33:29+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-10-30T14:25:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a6cf19abff33a790695d571b35c022e7c496095f'/>
<id>a6cf19abff33a790695d571b35c022e7c496095f</id>
<content type='text'>
Fixes #952, related to #980
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #952, related to #980
</pre>
</div>
</content>
</entry>
<entry>
<title>Addressed some static analysis warnings</title>
<updated>2017-07-19T07:50:08+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-07-19T07:50:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7a22bad76340f8b48094b46bc586e76ac9ea93ac'/>
<id>7a22bad76340f8b48094b46bc586e76ac9ea93ac</id>
<content type='text'>
Based on findings in #957
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on findings in #957
</pre>
</div>
</content>
</entry>
<entry>
<title>All of Approx's member functions now accept strong typedefs</title>
<updated>2017-04-24T20:01:45+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-04-24T20:01:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a34c053f0a06f719f93f7e7a3ab4319cd6dd10b4'/>
<id>a34c053f0a06f719f93f7e7a3ab4319cd6dd10b4</id>
<content type='text'>
Previously `Approx::operator()`, `Approx::epsilon`, `Approx::margin` and
`Approx::scale` didn't.

Closes #888
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously `Approx::operator()`, `Approx::epsilon`, `Approx::margin` and
`Approx::scale` didn't.

Closes #888
</pre>
</div>
</content>
</entry>
<entry>
<title>Added templated constructor to C++11 Approx</title>
<updated>2017-04-04T13:19:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-04-04T13:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0354d50278d725d52084601300eb955cee6756d8'/>
<id>0354d50278d725d52084601300eb955cee6756d8</id>
<content type='text'>
When using C++11, comparison operators are already templated to take
anything that can be explicitly converted to double, but constructor
took only doubles. This lead to warnings when an `Approx` was
constructed from floats, which was problematic for some users.

Since just adding float constructor would be a large breaking change, as
suddenly `Approx( 1 )` would become ambiguous, I added a templated
constructor that will take anything that is explicitly convertible to
double. This has the added benefit of allowing constructing `Approx`
instances from instances of strong typedefs, ie allowing
`calculated_temp == Approx( known_temp)`.

Closes #873
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using C++11, comparison operators are already templated to take
anything that can be explicitly converted to double, but constructor
took only doubles. This lead to warnings when an `Approx` was
constructed from floats, which was problematic for some users.

Since just adding float constructor would be a large breaking change, as
suddenly `Approx( 1 )` would become ambiguous, I added a templated
constructor that will take anything that is explicitly convertible to
double. This has the added benefit of allowing constructing `Approx`
instances from instances of strong typedefs, ie allowing
`calculated_temp == Approx( known_temp)`.

Closes #873
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'develop' of https://github.com/CNugteren/Catch</title>
<updated>2017-02-27T12:12:13+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-02-27T12:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d5c623b3b69d9ecbd9bc6d48d5be4ded5a216770'/>
<id>d5c623b3b69d9ecbd9bc6d48d5be4ded5a216770</id>
<content type='text'>
This adds an optional absolute margin to the Approx checks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds an optional absolute margin to the Approx checks.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added std:: qualification to some functions from C stdlib</title>
<updated>2017-02-11T22:20:09+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-26T18:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d0620c3495ad36df1918fbf720ea0946099620e1'/>
<id>d0620c3495ad36df1918fbf720ea0946099620e1</id>
<content type='text'>
This should solve #543, once Clara changes are in as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should solve #543, once Clara changes are in as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Enabled previous commit under MSVC, introduced new feature toggle</title>
<updated>2017-01-26T17:47:29+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-26T17:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=60a9ac7e65a57d82a92eebb7c8c6c1111a75897e'/>
<id>60a9ac7e65a57d82a92eebb7c8c6c1111a75897e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for comparison of Approx with strong typedefs</title>
<updated>2017-01-26T17:44:03+00:00</updated>
<author>
<name>Jonathan Coe</name>
</author>
<published>2016-05-12T18:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c06afe438e261deac5658935a86cc9168ae4ed43'/>
<id>c06afe438e261deac5658935a86cc9168ae4ed43</id>
<content type='text'>
closes #652
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #652
</pre>
</div>
</content>
</entry>
<entry>
<title>add support for inequalities</title>
<updated>2017-01-08T21:28:53+00:00</updated>
<author>
<name>Jonathan B. Coe</name>
</author>
<published>2016-09-24T16:59:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=37e1e243093052b540de78dd50c78be51b5728d2'/>
<id>37e1e243093052b540de78dd50c78be51b5728d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed 'auto' into 'bool' for C++98 compatibility</title>
<updated>2015-11-12T14:31:42+00:00</updated>
<author>
<name>CNugteren</name>
</author>
<published>2015-11-12T14:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3523c39f44c855c1d6f0d7ef3d3a3ea12d4a8987'/>
<id>3523c39f44c855c1d6f0d7ef3d3a3ea12d4a8987</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
