From aaaa9753277ff9d387beecaf0f43519eacdea4eb Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Mon, 19 Apr 2021 15:16:51 -0500 Subject: DOC,TST: Fix documentation and add tests --- doc/source/reference/ufuncs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/source/reference') diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst index c919ec9b8..151ac3370 100644 --- a/doc/source/reference/ufuncs.rst +++ b/doc/source/reference/ufuncs.rst @@ -266,7 +266,7 @@ can generate this table for your system with the code given in the Figure. S - - - - - - - - - - - - - - - - - - - - Y Y Y Y - - U - - - - - - - - - - - - - - - - - - - - - Y Y Y - - V - - - - - - - - - - - - - - - - - - - - - - Y Y - - - O - - - - - - - - - - - - - - - - - - - - - - Y Y - - + O - - - - - - - - - - - - - - - - - - - - - - - Y - - M - - - - - - - - - - - - - - - - - - - - - - Y Y Y - m - - - - - - - - - - - - - - - - - - - - - - Y Y - Y -- cgit v1.2.1 From 834b1184c1f609a4e9ba06c55ea64ba882e4cdc1 Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Mon, 19 Apr 2021 15:19:24 -0500 Subject: MAINT: Remove `NPY_USE_NEW_CASTINGIMPL` This doesn't serve any purpose anymore. The new code is now always used. (In very few cases this may lead to small slowdowns, this should only matter in ufuncs where it doesn't seem to matter enough to worry about it.) --- doc/source/reference/global_state.rst | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'doc/source/reference') diff --git a/doc/source/reference/global_state.rst b/doc/source/reference/global_state.rst index b59467210..f18481235 100644 --- a/doc/source/reference/global_state.rst +++ b/doc/source/reference/global_state.rst @@ -84,17 +84,3 @@ contiguous in memory. Most users will have no reason to change these; for details see the :ref:`memory layout ` documentation. -Using the new casting implementation ------------------------------------- - -Within NumPy 1.20 it is possible to enable the new experimental casting -implementation for testing purposes. To do this set:: - - NPY_USE_NEW_CASTINGIMPL=1 - -Setting the flag is only useful to aid with NumPy developement to ensure the -new version is bug free and should be avoided for production code. -It is a helpful test for projects that either create custom datatypes or -use for example complicated structured dtypes. The flag is expected to be -removed in 1.21 with the new version being always in use. - -- cgit v1.2.1