File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,15 @@ values. There are two different propagation modes. The default causes masked
261
261
values to contaminate the result with masks, but the other mode only outputs
262
262
masks if there is no alternative.
263
263
264
+ New ``float_power `` ufunc
265
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
266
+ The new ``float_power `` ufunc is like the ``power `` function except all
267
+ computation is done in a minimum precision of float64. There was a long
268
+ discussion on the numpy mailing list of how to treat integers to negative
269
+ integer powers and a popular proposal was that the ``__pow__ `` operator should
270
+ always return results of at least float64 precision. The ``float_power ``
271
+ function implements that option. Note that it does not support object arrays.
272
+
264
273
265
274
Improvements
266
275
============
You can’t perform that action at this time.
0 commit comments