Talk:cpp/types/numeric limits

Layout change proposal
How about we change the layout from tables to the list of members/constants, similar to most other pages? It gives us the ability to reference specific fnctions/constants individually from elsewhere, gives us a neat sidebar, and lets us expound on the details of any important member with examples and references within its own page, instead of being limited to a cell in a table. Who can tell from the table blurb what in the world does "tinyness_before" mean or how "digits10" is different from "max_digits10"?

Here's how it would look, right after the list of standard specializations,

Helper classes
And then within each page, we could list the default value for non-specialized numeric_limits, and the specified values for fundamental types (although the big at-a-glance table in the end of this page is useful too and should be kept, perhaps split between integer and floating-point though), give examples, etc.

--Cubbi 07:40, 5 October 2011 (PDT)


 * Looks good to me. Something like this should've been implemented from the start.P12 11:05, 5 October 2011 (PDT)
 * Yup, much better. Nate 15:19, 7 October 2011 (PDT)

specialization for user-defined types
I think that what's in the page now may be incorrect, and that std::numeric_limits cannot be extended to library-defined types, but can be extended by implementations to cover arithmetic types like __int128.

http://stackoverflow.com/questions/16122912/is-it-ok-to-specialize-stdnumeric-limitst-for-user-defined-number-like-class