while this is not necessarily allowed, e.g., for rational numbers. In other word we need a better implementation of ei_significant_decimals_default_impl. See this thread: http://forum.kde.org/viewtopic.php?f=74&t=90670&p=172385 Of course one can still specialize ei_significant_decimals_default_impl for his/her problematic type but that's only a workaround, not a real solution.
*** Bug 1083 has been marked as a duplicate of this bug. ***
Created attachment 614 [details] Remove log, use numeric_limits::digits10, and recursion on T::value_type Here is a patch removing the manual log10 in favor to the use of numeric_limits::digits10. For containers as scalar types (e.g., array, matrices, complex, etc.) the default implementation recursively search for the most primitive value type before calling numeric_limits.
-- 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/34.