source file of the Flower Library
- (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
*/
#include "real.hh"
#include "interval.tcc"
-
-template INTERVAL__INSTANTIATE(Real);
-
-
+template INTERVAL__INSTANTIATE (Real);
Real
-Interval_t<Real>::infinity()
+Interval_t<Real>::infinity ()
{
return HUGE_VAL;
}
{
return String (r);
}
+
+template INTERVAL__INSTANTIATE (int);
+
+int
+Interval_t<int>::infinity ()
+{
+ return INT_MAX;
+}
+
+String
+Interval_t<int>::T_to_str (int i)
+{
+ return String (i);
+}
+