Currently stableNorm scales by the actual inverse of the maximum element. This requires at least one division and is less accurate than scaling by the next power of two. This also applies to the scaling done by most Eigenvalue or singular value decompositions. Somewhat related SO question/answer: https://stackoverflow.com/questions/54297525/fast-way-to-get-a-close-power-of-2-number-floating-point
Good idea!
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1666.