<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git/libraries/integer-gmp, branch wip/stringbuffer</title>
<subtitle>gitlab.haskell.org: ghc/ghc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/'/>
<entry>
<title>Bignum: implement integerPowMod (#18427)</title>
<updated>2020-10-02T17:52:38+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2020-10-01T13:13:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=8dd4f40512bb18e296280acde0507b4233a27b69'/>
<id>8dd4f40512bb18e296280acde0507b4233a27b69</id>
<content type='text'>
Incidentally fix powModInteger which was crashing in integer-gmp for
negative exponents when the modular multiplicative inverse for the base
didn't exist. Now we compute it explicitly with integerRecipMod so that
every backend returns the same result without crashing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Incidentally fix powModInteger which was crashing in integer-gmp for
negative exponents when the modular multiplicative inverse for the base
didn't exist. Now we compute it explicitly with integerRecipMod so that
every backend returns the same result without crashing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bignum: implement integerRecipMod (#18427)</title>
<updated>2020-10-02T17:52:38+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2020-09-30T15:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=12c06927a03a2fdb516f7008c57d68568b02b576'/>
<id>12c06927a03a2fdb516f7008c57d68568b02b576</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bignum: add bigNatFromWordArray</title>
<updated>2020-09-26T09:37:23+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2020-09-25T16:29:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=1cde295c543e209c3b81256b50e77f3c5132a4ad'/>
<id>1cde295c543e209c3b81256b50e77f3c5132a4ad</id>
<content type='text'>
Reimplementation of integer-gmp's byteArrayToBigNat#
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reimplementation of integer-gmp's byteArrayToBigNat#
</pre>
</div>
</content>
</entry>
<entry>
<title>Bignum: implement extended GCD (#18427)</title>
<updated>2020-09-26T01:14:36+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2020-09-24T09:33:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=04bc50b3c8e40387a0d0f090ea23cd68923f1834'/>
<id>04bc50b3c8e40387a0d0f090ea23cd68923f1834</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bignum: add missing compat import/export functions</title>
<updated>2020-09-02T19:56:48+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2020-09-02T09:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=85e621234916e9b5d40174831a3b422bd99f8f83'/>
<id>85e621234916e9b5d40174831a3b422bd99f8f83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bignum: add BigNat compat functions (#18613)</title>
<updated>2020-09-01T03:06:28+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2020-08-31T09:30:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=a8a2568b7b64e5b9fca5b12df7da759de4db39ae'/>
<id>a8a2568b7b64e5b9fca5b12df7da759de4db39ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bignum: add more BigNat compat functions in integer-gmp</title>
<updated>2020-08-05T07:59:27+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2020-07-31T12:38:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=3f2f771869c65125ba013a5dd2b213061efe0fc2'/>
<id>3f2f771869c65125ba013a5dd2b213061efe0fc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bignum: add backward compat integer-gmp functions</title>
<updated>2020-08-05T07:59:27+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2020-07-30T15:30:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=d613ed7624cbf39192d2a8cf29ab0c0fd2980a15'/>
<id>d613ed7624cbf39192d2a8cf29ab0c0fd2980a15</id>
<content type='text'>
Also enhance bigNatCheck# and isValidNatural test
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also enhance bigNatCheck# and isValidNatural test
</pre>
</div>
</content>
</entry>
<entry>
<title>BigNum: rename BigNat types</title>
<updated>2020-07-07T17:56:11+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2020-07-06T13:08:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=d3bd68978476487591fc60f7feb7cfb36b8fc3a3'/>
<id>d3bd68978476487591fc60f7feb7cfb36b8fc3a3</id>
<content type='text'>
Before this patch BigNat names were confusing because we had:

* GHC.Num.BigNat.BigNat: unlifted type used everywhere else
* GHC.Num.BigNat.BigNatW: lifted type only used to share static constants
* GHC.Natural.BigNat: lifted type only used for backward compatibility

After this patch we have:

* GHC.Num.BigNat.BigNat#: unlifted type
* GHC.Num.BigNat.BigNat: lifted type (reexported from GHC.Natural)

Thanks to @RyanGlScott for spotting this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this patch BigNat names were confusing because we had:

* GHC.Num.BigNat.BigNat: unlifted type used everywhere else
* GHC.Num.BigNat.BigNatW: lifted type only used to share static constants
* GHC.Natural.BigNat: lifted type only used for backward compatibility

After this patch we have:

* GHC.Num.BigNat.BigNat#: unlifted type
* GHC.Num.BigNat.BigNat: lifted type (reexported from GHC.Natural)

Thanks to @RyanGlScott for spotting this.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add integer-gmp's ghc.mk and GNUmakefile to .gitignore</title>
<updated>2020-06-28T13:20:57+00:00</updated>
<author>
<name>Ryan Scott</name>
<email>ryan.gl.scott@gmail.com</email>
</author>
<published>2020-06-25T16:51:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/haskell.git/commit/?id=15b79befc246aa9c63dd084012dc7843ea93daaa'/>
<id>15b79befc246aa9c63dd084012dc7843ea93daaa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
