<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_matchers_floating.cpp, branch v2.13.4</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>Cleanup nextafter workaround</title>
<updated>2020-02-03T09:05:23+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-02-03T09:05:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2652bb86e3f72292951dfb5ad272a7c0a018118c'/>
<id>2652bb86e3f72292951dfb5ad272a7c0a018118c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide workaround for platforms where INFINITY is double</title>
<updated>2019-10-21T16:33:26+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-21T16:31:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=23c80bcc92c817d48699e667428d3501ff09598b'/>
<id>23c80bcc92c817d48699e667428d3501ff09598b</id>
<content type='text'>
Fixes #1782
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1782
</pre>
</div>
</content>
</entry>
<entry>
<title>Use scientific notation for the WithinULP matcher</title>
<updated>2019-10-20T10:30:21+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-20T10:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9e8ae7d4701770c3f4f23414214634f59809fa71'/>
<id>9e8ae7d4701770c3f4f23414214634f59809fa71</id>
<content type='text'>
This should now properly handle small numbers which would previously
output something like `[0.00000000000000019, 0.00000000000000019]`,
which does not allow user to read the numbers properly.

Closes #1760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should now properly handle small numbers which would previously
output something like `[0.00000000000000019, 0.00000000000000019]`,
which does not allow user to read the numbers properly.

Closes #1760
</pre>
</div>
</content>
</entry>
<entry>
<title>Add parenthesis to prevent macro expansions of min/max</title>
<updated>2019-10-17T14:40:37+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-17T09:21:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=31906d83ec1fff2b667a32a0730c649d12889ef6'/>
<id>31906d83ec1fff2b667a32a0730c649d12889ef6</id>
<content type='text'>
Closes #1772
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1772
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a Relative Comparison matcher for floating point numbers</title>
<updated>2019-10-13T09:56:50+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-13T09:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d2d418a9cbda255e193c4ed6c57cdf20137fa309'/>
<id>d2d418a9cbda255e193c4ed6c57cdf20137fa309</id>
<content type='text'>
It checks Knuth's _close enough with tolerance_ relationship, that
is `|lhs - rhs| &lt;= epsilon * max(|lhs|, |rhs|)`, rather then the
_very close with tolerance_ relationship that can be written down as
`|lhs - rhs| &lt;= epsilon * min(|lhs|, |rhs|)`.

This is because it is the more common model around the internet, and
as such is likely to be less surprising to the users. In the future
we might want to provide the other model as well.

Closes #1746
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It checks Knuth's _close enough with tolerance_ relationship, that
is `|lhs - rhs| &lt;= epsilon * max(|lhs|, |rhs|)`, rather then the
_very close with tolerance_ relationship that can be written down as
`|lhs - rhs| &lt;= epsilon * min(|lhs|, |rhs|)`.

This is because it is the more common model around the internet, and
as such is likely to be less surprising to the users. In the future
we might want to provide the other model as well.

Closes #1746
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation error with CATCH_CONFIG_GLOBAL_NEXTAFTER</title>
<updated>2019-10-05T19:03:46+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-05T18:58:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=4bd2c3ad6ab0bcdecf9101dcf7f5968901f68351'/>
<id>4bd2c3ad6ab0bcdecf9101dcf7f5968901f68351</id>
<content type='text'>
Wrong nesting of namespaces resulted in the `Catch` namespace
being ambigous between `::Catch` and `::{anon}::Catch` namespaces.
This should fix it.

Closes #1761
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wrong nesting of namespaces resulted in the `Catch` namespace
being ambigous between `::Catch` and `::{anon}::Catch` namespaces.
This should fix it.

Closes #1761
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow full range of target ULP values for the ULPMatcher</title>
<updated>2019-10-05T11:38:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-05T11:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c38a5caa2ebf0738e468f419c4d3ed857001cfb0'/>
<id>c38a5caa2ebf0738e468f419c4d3ed857001cfb0</id>
<content type='text'>
Previously it was limited to roughly 2 billion ULPs, rather than
the roughly 2^64 possible ones.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously it was limited to roughly 2 billion ULPs, rather than
the roughly 2^64 possible ones.
</pre>
</div>
</content>
</entry>
<entry>
<title>Workaround missing std::nextafter in uClibc</title>
<updated>2019-09-06T11:08:44+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-09-06T11:08:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=addf799040e8f0cefbe42ca1a22787802a969077'/>
<id>addf799040e8f0cefbe42ca1a22787802a969077</id>
<content type='text'>
Luckily, the rest of C++11 features seem to be supported...

Closes #1739
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Luckily, the rest of C++11 features seem to be supported...

Closes #1739
</pre>
</div>
</content>
</entry>
<entry>
<title>Show bound when stringifying the WithinULP matcher</title>
<updated>2019-06-15T05:12:27+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-06-14T18:16:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7142d5a8c9aa241bd544952e4900c2fb220b5fae'/>
<id>7142d5a8c9aa241bd544952e4900c2fb220b5fae</id>
<content type='text'>
Closes #1581
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1581
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `std::isnan` polyfill, fixing compilation under Embarcadero</title>
<updated>2018-11-17T19:52:18+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-11-17T19:52:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c6a89f14c2d2134363ac186cc401ce331f158d44'/>
<id>c6a89f14c2d2134363ac186cc401ce331f158d44</id>
<content type='text'>
Fixes #1438
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1438
</pre>
</div>
</content>
</entry>
</feed>
