Numeric_limits

Moore, Mathew L MooreML@BATTELLE.ORG
Mon Oct 14 12:12:00 GMT 2002


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.
> 
> 



More information about the Gcc-help mailing list