summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/16841.change.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/release/upcoming_changes/16841.change.rst')
-rw-r--r--doc/release/upcoming_changes/16841.change.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/16841.change.rst b/doc/release/upcoming_changes/16841.change.rst
new file mode 100644
index 000000000..26efd2528
--- /dev/null
+++ b/doc/release/upcoming_changes/16841.change.rst
@@ -0,0 +1,5 @@
+`np.linspace` on integers now use floor
+---------------------------------------
+When using a `int` dtype in `np.linspace`, previously float values would
+be rounded towards zero. Now `np.floor` is used instead, which rounds toward
+``-inf``. This changes the results for negative values.