diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-09-25 12:43:23 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-09-25 12:43:23 -0600 |
commit | 5f5edf777fc621c4f330f12d871540098738e8b9 (patch) | |
tree | e292a003a60c844ee2781c1cb47d8168ebb12092 /doc | |
parent | 7b7f83ba9573a64c5f5147e297237ce0a9ca289c (diff) | |
parent | 3a0587e545e959747d9b501dbf029a4cd6576547 (diff) | |
download | numpy-5f5edf777fc621c4f330f12d871540098738e8b9.tar.gz |
Merge pull request #5116 from jaimefrio/poly-overflow
ENH: Cast non-object arrays to float in np.poly
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.10.0-notes.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst index 553267cad..333ce2c77 100644 --- a/doc/release/1.10.0-notes.rst +++ b/doc/release/1.10.0-notes.rst @@ -37,6 +37,13 @@ and a bit faster. Improvements ============ +`np.poly` now casts integer inputs to float +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`np.poly` will now cast 1-dimensional input arrays of integer type to double +precision floating point, to prevent integer overflow when computing the monic +polynomial. It is still possible to obtain higher precision results by +passing in an array of object type, filled e.g. with Python ints. + Changes ======= |