This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Numeric_limits
- From: "Moore, Mathew L" <MooreML at BATTELLE dot ORG>
- To: "'agenkin at scils dot rutgers dot edu'" <agenkin at scils dot rutgers dot edu>,gcc-help at gcc dot gnu dot org
- Date: Mon, 14 Oct 2002 15:11:32 -0400
- Subject: RE: Numeric_limits
- Sensitivity: Company-Confidential
Sure it's supported. I use it all the time. What version gcc are you
using?
#include <iostream>
#include <limits>
int main()
{
std::cout << std::numeric_limits<double>::max() << std::endl;
}
compiles and works fine in gcc 3.2. Maybe something screwed up in your
installation?
--Matt
> -----Original Message-----
> From: agenkin@scils.rutgers.edu [mailto:agenkin@scils.rutgers.edu]
> Sent: Monday, October 14, 2002 14:59
> To: gcc-help@gcc.gnu.org
> Subject: Numeric_limits
> Sensitivity: Confidential
>
>
> numeric_limits template seems to be not supported. Any remedy?
>
> Thank you.
>
>