commit | 5529db7524b93208f3d97f5fadc53aff1de70190 | [log] [tgz] |
---|---|---|
author | Antonio Sanchez <cantonios@google.com> | Thu Feb 25 14:29:49 2021 -0800 |
committer | Antonio Sanchez <cantonios@google.com> | Thu Feb 25 14:39:26 2021 -0800 |
tree | 776d264bc8af0004bcd5eb6468ddb5c2bb4ea299 | |
parent | ecb7b19dfa6c4bbf7a4068e114a1c86aa88908fe [diff] |
Fix SSE/NEON pfloor/pceil for saturated values. The original will saturate if the input does not fit into an integer type. Here we fix this, returning the input if it doesn't have enough precision to have a fractional part. Also added `pceil` for NEON. Fixes #1969.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.
For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.