<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coq/test-suite/primitive/float, branch master</title>
<subtitle>The formal proof system</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/'/>
<entry>
<title>Add more explicit tests for next_up and next_down.</title>
<updated>2020-11-18T13:36:45+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2020-11-18T13:36:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=9815b5947a5c02ba9189a447f5b58d5bb81e4f93'/>
<id>9815b5947a5c02ba9189a447f5b58d5bb81e4f93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bring Float notations in line with stdlib</title>
<updated>2020-08-09T22:16:37+00:00</updated>
<author>
<name>Jason Gross</name>
</author>
<published>2020-06-21T03:35:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=fcc3db46303d97e0696a1685619301be3622f4e9'/>
<id>fcc3db46303d97e0696a1685619301be3622f4e9</id>
<content type='text'>
This is a companion to #12479 as per
https://github.com/coq/coq/pull/12479#issuecomment-641336039 that
changes some of the PrimFloat notations:
- `m == n` into `m =? n` to correspond with the eqb notations elsewhere
- `m &lt; n` into `m &lt;? n` to correspond with the ltb notations elsewhere
- `m &lt;= n` into `m &lt;=? n` to correspond with the leb notations elsewhere

We also put them in a module, so users can `Require PrimFloat. Import
PrimFloat.PrimFloatNotations` without needing to unqualify the
primitives.

Fixes the part of #12454 about floats
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a companion to #12479 as per
https://github.com/coq/coq/pull/12479#issuecomment-641336039 that
changes some of the PrimFloat notations:
- `m == n` into `m =? n` to correspond with the eqb notations elsewhere
- `m &lt; n` into `m &lt;? n` to correspond with the ltb notations elsewhere
- `m &lt;= n` into `m &lt;=? n` to correspond with the leb notations elsewhere

We also put them in a module, so users can `Require PrimFloat. Import
PrimFloat.PrimFloatNotations` without needing to unqualify the
primitives.

Fixes the part of #12454 about floats
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ldshiftexp</title>
<updated>2019-11-01T09:21:35+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2019-10-10T18:11:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=d39fab9a7c39d8da868c4481b96cf1086c21b1a4'/>
<id>d39fab9a7c39d8da868c4481b96cf1086c21b1a4</id>
<content type='text'>
* Fix the implementations and add tests
* Change shift from int63 to Z (was always used as a Z)
* Update FloatLemmas.v accordingly

Co-authored-by: Erik Martin-Dorel &lt;erik.martin-dorel@irit.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix the implementations and add tests
* Change shift from int63 to Z (was always used as a Z)
* Update FloatLemmas.v accordingly

Co-authored-by: Erik Martin-Dorel &lt;erik.martin-dorel@irit.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add "==", "&lt;", "&lt;=" in PrimFloat.v</title>
<updated>2019-11-01T09:21:16+00:00</updated>
<author>
<name>Erik Martin-Dorel</name>
</author>
<published>2019-07-03T13:08:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=f155ba664a782f000e278d97ee5666e2e7d2adea'/>
<id>f155ba664a782f000e278d97ee5666e2e7d2adea</id>
<content type='text'>
* Add a related test-suite in compare.v (generated by a bash script)

Co-authored-by: Pierre Roux &lt;pierre.roux@onera.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add a related test-suite in compare.v (generated by a bash script)

Co-authored-by: Pierre Roux &lt;pierre.roux@onera.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make primitive float work on x86_32</title>
<updated>2019-11-01T09:21:03+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2019-04-03T22:14:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=dca0135a263717b3a1a1d7c4f054f039dc08109e'/>
<id>dca0135a263717b3a1a1d7c4f054f039dc08109e</id>
<content type='text'>
Flag -fexcess-precision=standard is not enough on x86_32
where -msse2 -mfpmath=sse is required (-msse is not enough)
to avoid double rounding issues in the VM.

Most floating-point operation are now implemented in C because OCaml
is suffering double rounding issues on x86_32 with 80 bits extended
precision registers used for floating-point values, causing double
rounding making floating-point arithmetic incorrect with respect to
its specification.

Add a runtime test for double roundings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Flag -fexcess-precision=standard is not enough on x86_32
where -msse2 -mfpmath=sse is required (-msse is not enough)
to avoid double rounding issues in the VM.

Most floating-point operation are now implemented in C because OCaml
is suffering double rounding issues on x86_32 with 80 bits extended
precision registers used for floating-point values, causing double
rounding making floating-point arithmetic incorrect with respect to
its specification.

Add a runtime test for double roundings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Parsing primitive float constants</title>
<updated>2019-11-01T09:20:55+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2018-10-20T21:43:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=fdfcadc111fb5618a8e4a769c50607dc920b7dec'/>
<id>fdfcadc111fb5618a8e4a769c50607dc920b7dec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for primitive floats with 'native_compute'</title>
<updated>2019-11-01T09:20:47+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2019-06-09T08:41:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=f0bf1511e59e528e090a87cfcc220f93c2431ecd'/>
<id>f0bf1511e59e528e090a87cfcc220f93c2431ecd</id>
<content type='text'>
Tests are updated to include native computations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests are updated to include native computations.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add next_{up,down} primitive float functions</title>
<updated>2019-11-01T09:20:39+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2018-08-28T21:37:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=5f1270242f71a0a1da7c868967e1071d28ed83fb'/>
<id>5f1270242f71a0a1da7c868967e1071d28ed83fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement classify on primitive float</title>
<updated>2019-11-01T09:20:35+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2018-08-28T16:56:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=d18b928154a48ff8d90aaff69eca7d6eb3dfa0ab'/>
<id>d18b928154a48ff8d90aaff69eca7d6eb3dfa0ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change return type of primitive float comparison</title>
<updated>2019-11-01T09:20:31+00:00</updated>
<author>
<name>Pierre Roux</name>
</author>
<published>2018-08-28T12:31:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=79605dabb10e889ae998bf72c8483f095277e693'/>
<id>79605dabb10e889ae998bf72c8483f095277e693</id>
<content type='text'>
Replace `option comparison` with `float_comparison` (:= `FEq | FLt |
FGt | FNotComparable`) as suggested by Guillaume Melquiond to avoid
boxing and an extra match when using primitive float comparison.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace `option comparison` with `float_comparison` (:= `FEq | FLt |
FGt | FNotComparable`) as suggested by Guillaume Melquiond to avoid
boxing and an extra match when using primitive float comparison.
</pre>
</div>
</content>
</entry>
</feed>
