<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/core/getlimits.py, branch meson</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>Merge pull request #22619 from seberg/move-set_module</title>
<updated>2022-11-29T21:33:27+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2022-11-29T21:33:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b0b7a066c393a1d7cc69e9a6db7c7c7a3602b293'/>
<id>b0b7a066c393a1d7cc69e9a6db7c7c7a3602b293</id>
<content type='text'>
MAINT: Move set_module from numpy.core to numpy._utils</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: Move set_module from numpy.core to numpy._utils</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Move set_module to numpy.core to use without C import</title>
<updated>2022-11-24T16:03:42+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-11-18T14:11:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7c361420b4f81713f593ebbb5c924121c1f2d19d'/>
<id>7c361420b4f81713f593ebbb5c924121c1f2d19d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Finalize MachAr and machar deprecations</title>
<updated>2022-11-22T16:38:33+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-11-21T10:27:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8b9b0efbc08a502627f455ec59656fce68eb10d7'/>
<id>8b9b0efbc08a502627f455ec59656fce68eb10d7</id>
<content type='text'>
This removes the attributes on finfo and the "public" module.  It also
deprecates `np.core.MachAr`.  We should be able to get away with just
deleting it, but there seems little reason to not just deprecate it for now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the attributes on finfo and the "public" module.  It also
deprecates `np.core.MachAr`.  We should be able to get away with just
deleting it, but there seems little reason to not just deprecate it for now.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Added missing dtype attribute to `iinfo` and `finfo` docstring (#22334)</title>
<updated>2022-09-27T08:19:17+00:00</updated>
<author>
<name>Matteo Raso</name>
<email>33975162+MatteoRaso@users.noreply.github.com</email>
</author>
<published>2022-09-27T08:19:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9c5a2b41cc0ade160a01b7423630f7ee1b8e63dc'/>
<id>9c5a2b41cc0ade160a01b7423630f7ee1b8e63dc</id>
<content type='text'>
finfo() and iinfo() both have a dtype attribute, which was undocumented before this commit.

[skip azp] [skip actions]

Co-authored-by: Ralf Gommers &lt;ralf.gommers@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
finfo() and iinfo() both have a dtype attribute, which was undocumented before this commit.

[skip azp] [skip actions]

Co-authored-by: Ralf Gommers &lt;ralf.gommers@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Clarified how finfo works with complex numbers (#22260)</title>
<updated>2022-09-14T23:05:29+00:00</updated>
<author>
<name>Matteo Raso</name>
<email>mraso@uoguelph.ca</email>
</author>
<published>2022-09-14T23:05:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e792e6c58241b6e1576c3002a076b96e9f8ff21e'/>
<id>e792e6c58241b6e1576c3002a076b96e9f8ff21e</id>
<content type='text'>
There was some confusion about how finfo works with complex numbers,
leading to an issue being made requesting that numpy either adds a
cinfo function or changes the documentation of finfo. The submitter of
that issue also linked to an issue for a seperate repository, which also
included conversation about the proposed change. (github.com/data-apis/array-api/issues/433)
In both discussions, there was a general concensus that it would be better
to change the documentation to explain how finfo works instead of
creating a cinfo function.

Since this is just a small documentation change, there's no need
to run the normal checks.

[skip ci]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was some confusion about how finfo works with complex numbers,
leading to an issue being made requesting that numpy either adds a
cinfo function or changes the documentation of finfo. The submitter of
that issue also linked to an issue for a seperate repository, which also
included conversation about the proposed change. (github.com/data-apis/array-api/issues/433)
In both discussions, there was a general concensus that it would be better
to change the documentation to explain how finfo works instead of
creating a cinfo function.

Since this is just a small documentation change, there's no need
to run the normal checks.

[skip ci]
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix discovered MachAr (still used within valgrind)</title>
<updated>2022-06-21T20:42:09+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2022-06-21T20:42:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4756c54e13154bcbc7ae2612874f03a0ccbaa9af'/>
<id>4756c54e13154bcbc7ae2612874f03a0ccbaa9af</id>
<content type='text'>
This fixes the missing attributes.  I tested the warning and fix
on valgrind itself.
These attributes were added in gh-18536 but the fallback path was
not checked there.

Replaces gh-21813, although something more like it may make sense
if it allows us to just delete MachAr completely.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the missing attributes.  I tested the warning and fix
on valgrind itself.
These attributes were added in gh-18536 but the fallback path was
not checked there.

Replaces gh-21813, although something more like it may make sense
if it allows us to just delete MachAr completely.
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Deprecate `finfo.machar`</title>
<updated>2021-10-27T18:56:27+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>43369155+BvB93@users.noreply.github.com</email>
</author>
<published>2021-10-27T18:53:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=cbc1d01d4260ff92fa9c3292d8dd67e6137a20fe'/>
<id>cbc1d01d4260ff92fa9c3292d8dd67e6137a20fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Deprecate the `np.core.machar` module</title>
<updated>2021-10-26T21:54:04+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2021-10-20T09:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ae3c21991a617d60d8093e3e958a6b0b5fb0eeb6'/>
<id>ae3c21991a617d60d8093e3e958a6b0b5fb0eeb6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: remove unused imports</title>
<updated>2021-10-08T09:49:11+00:00</updated>
<author>
<name>Alessia Marcolini</name>
<email>98marcolini@gmail.com</email>
</author>
<published>2021-10-08T09:49:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4d23ebeb068c8d6ba6edfc11d32ab2af8bb89c74'/>
<id>4d23ebeb068c8d6ba6edfc11d32ab2af8bb89c74</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add smallest_normal and smallest_subnormal attributes to finfo (#18536)</title>
<updated>2021-07-19T19:01:40+00:00</updated>
<author>
<name>Stephannie Jimenez Gacha</name>
<email>steff456@users.noreply.github.com</email>
</author>
<published>2021-07-19T19:01:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d3382a5e7e3c45a2fc9840509de0c8eadc25fa07'/>
<id>d3382a5e7e3c45a2fc9840509de0c8eadc25fa07</id>
<content type='text'>
* ENH: Add smallest_normal and smallest_subnormal attributes to finfo class

* ENH: Add smallest_normal and smallest_subnormal attributes to MachAr

* BUG: Fix minor bug in the calc of smallest_subnormal attribute

* ENH: Use nextafter to calculate smallest subnormal in finfo

* ENH: Use nextafter for calculating all subnormal numbers

* ENH: Add warning in case the subnormal number is zero and hardcode double double value

* FIX: Fix docstring in new function

* FIX: Add stacklevel parameter to warning

* ENH: Move smallest_subnormal to a property and add a test

* FIX: Only hardcode the subnormal value for double double

* FIX: Fix subnormal warning test

* FIX: Fix the hardcoded value for double double type

* FIX: Fix failing test by supressing an overflow warning

* ENH: Fix the value for smallest_normal and tiny in double double

* BUG: Fix failing tests when tiny is NaN

* BUG: Fix failing test when tiny is NaN

* ENH: add review fixes

* ENH: Raise TypeError for smallest_subnormal/tiny value in longdouble

* FIX: Replace TypeError with warning

* BUG: Fix tests

* ENH: Add release note

* ENH: Add review changes

* BUG: Fix wrong value in smallest_subnormal

Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* BUG: Fix wrong value in subnormal number

* ENH: Bind the smallest_normal warning to the finfo class

* BUG: Revert warning supression in tests

* ENH: Add review changes

* BUG: Fix failing test

* BUG: Fix test identation

* BUG: Fix typo

* Update numpy/core/tests/test_getlimits.py

Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ENH: Add smallest_normal and smallest_subnormal attributes to finfo class

* ENH: Add smallest_normal and smallest_subnormal attributes to MachAr

* BUG: Fix minor bug in the calc of smallest_subnormal attribute

* ENH: Use nextafter to calculate smallest subnormal in finfo

* ENH: Use nextafter for calculating all subnormal numbers

* ENH: Add warning in case the subnormal number is zero and hardcode double double value

* FIX: Fix docstring in new function

* FIX: Add stacklevel parameter to warning

* ENH: Move smallest_subnormal to a property and add a test

* FIX: Only hardcode the subnormal value for double double

* FIX: Fix subnormal warning test

* FIX: Fix the hardcoded value for double double type

* FIX: Fix failing test by supressing an overflow warning

* ENH: Fix the value for smallest_normal and tiny in double double

* BUG: Fix failing tests when tiny is NaN

* BUG: Fix failing test when tiny is NaN

* ENH: add review fixes

* ENH: Raise TypeError for smallest_subnormal/tiny value in longdouble

* FIX: Replace TypeError with warning

* BUG: Fix tests

* ENH: Add release note

* ENH: Add review changes

* BUG: Fix wrong value in smallest_subnormal

Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* BUG: Fix wrong value in subnormal number

* ENH: Bind the smallest_normal warning to the finfo class

* BUG: Revert warning supression in tests

* ENH: Add review changes

* BUG: Fix failing test

* BUG: Fix test identation

* BUG: Fix typo

* Update numpy/core/tests/test_getlimits.py

Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;</pre>
</div>
</content>
</entry>
</feed>
