boost/limits.hpp and GCC 3.2.3
Folks, It looks to me like numeric_limits on GCC 3.2.3 is broken; specifically, numeric_limits<double>::has_infinity = false numeric_limits<double>::infinity() == 0 I suspect boost/limits.hpp could fix this if it knew to do so; but since <limits> exists, boost/limits.hpp doesn't 'fix' anything. Does anyone have thoughts about (reasonably portable) ways to "convince" boost/limits.hpp to provide numeric_limits even if the compiler already has one? Thanks! ---------------------------------------------------------------------- Dave Steffen, Ph.D. "There are two ways to write error-free Software Engineer IV programs; only the third one works." Numerica Corporation ph (970) 419-8343 x27 "Pie are not square. Pie are round. fax (970) 223-6797 Cornbread are square" dgsteffen@numerica.us ... anon (usenet)
participants (1)
-
Dave Steffen