<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random, branch main</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>MNT: compatibility with cython3</title>
<updated>2023-05-14T01:33:45+00:00</updated>
<author>
<name>Thomas A Caswell</name>
<email>tcaswell@gmail.com</email>
</author>
<published>2023-05-14T01:33:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=888fd7719965719321f160f79051aa5caf42b9ac'/>
<id>888fd7719965719321f160f79051aa5caf42b9ac</id>
<content type='text'>
This is fallout from https://github.com/cython/cython/pull/5386
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is fallout from https://github.com/cython/cython/pull/5386
</pre>
</div>
</content>
</entry>
<entry>
<title>Also annotate the implementation of the kahan_sum() function, not just the declaration.</title>
<updated>2023-05-04T07:35:21+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2023-05-04T07:35:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=6aca5f6552225a097cb23c875f2b18de86ca7f39'/>
<id>6aca5f6552225a097cb23c875f2b18de86ca7f39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert useless changes.</title>
<updated>2023-05-04T07:33:20+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2023-05-04T07:33:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=4ff6f470cf53a77a04dbec7f333a844ac3474a0c'/>
<id>4ff6f470cf53a77a04dbec7f333a844ac3474a0c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'main' into cython3_noexcept</title>
<updated>2023-05-04T07:29:53+00:00</updated>
<author>
<name>scoder</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2023-05-04T07:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=442c8f48d3146ec32c7d5387310e171276cf10ac'/>
<id>442c8f48d3146ec32c7d5387310e171276cf10ac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add "noexcept" markers to functions that do not raise exceptions.</title>
<updated>2023-05-04T07:18:16+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2023-05-04T07:18:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=3e4a6cba2da27bbe2a6e12c163238e503c9f6a07'/>
<id>3e4a6cba2da27bbe2a6e12c163238e503c9f6a07</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: random: In a test module, don't use a global non-deterministically Generator.</title>
<updated>2023-05-01T17:11:58+00:00</updated>
<author>
<name>warren</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2023-05-01T17:11:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=5d51fd9d38ada80cf35c33388d2753af69ba1538'/>
<id>5d51fd9d38ada80cf35c33388d2753af69ba1538</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: random: Don't return negative values from Generator.geometric.</title>
<updated>2023-05-01T03:28:44+00:00</updated>
<author>
<name>warren</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2023-04-27T15:52:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=40ae83411b275b68425b5c85a7243c69599edc59'/>
<id>40ae83411b275b68425b5c85a7243c69599edc59</id>
<content type='text'>
In C, when the integer part of a double exceeds the maximum int64, casting
the double to int64_t is undefined behavior.  On some platforms, the result
is 2**64-1 and on others it is -2**64.  That results in rng.geometric()
returning -2**64 when p was sufficiently small on some platforms.

The fix is to never invoke undefined behavior by ensuring we don't attempt
to cast very large double values to int64_t.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In C, when the integer part of a double exceeds the maximum int64, casting
the double to int64_t is undefined behavior.  On some platforms, the result
is 2**64-1 and on others it is -2**64.  That results in rng.geometric()
returning -2**64 when p was sufficiently small on some platforms.

The fix is to never invoke undefined behavior by ensuring we don't attempt
to cast very large double values to int64_t.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: accept zeros on numpy.random dirichlet function (#23440)</title>
<updated>2023-04-11T07:38:03+00:00</updated>
<author>
<name>Paulo Almeida</name>
<email>pcca24102002@gmail.com</email>
</author>
<published>2023-04-11T07:38:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=fe893743b83173b72648dc79d86eda905230d1e9'/>
<id>fe893743b83173b72648dc79d86eda905230d1e9</id>
<content type='text'>
Changed alpha value error to pass a null value. This way, dirichlet function (on the generator, not mtrand) won't raise a value exception at 0. Also added test.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed alpha value error to pass a null value. This way, dirichlet function (on the generator, not mtrand) won't raise a value exception at 0. Also added test.

</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add `n_children` param to rng.spawn() and bitgen.spawn() docs</title>
<updated>2023-03-14T08:11:06+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2023-03-13T11:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=94a9b8641bf4d1d5e5c4387df79341d4f0817f1b'/>
<id>94a9b8641bf4d1d5e5c4387df79341d4f0817f1b</id>
<content type='text'>
The original PR forgot to include the Parameters section (and thus
the paraeter itself).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The original PR forgot to include the Parameters section (and thus
the paraeter itself).
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #23103 from SimonAltrogge/typing-fix</title>
<updated>2023-03-05T19:17:47+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>43369155+BvB93@users.noreply.github.com</email>
</author>
<published>2023-03-05T19:17:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=e8226132c6f8f8452f412b62858fd9128378c01f'/>
<id>e8226132c6f8f8452f412b62858fd9128378c01f</id>
<content type='text'>
TYP: Fix return type to float on _FloatLike_co arguments</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TYP: Fix return type to float on _FloatLike_co arguments</pre>
</div>
</content>
</entry>
</feed>
