diff src/ov-complex.h @ 9685:e793865ede63

implement builtin_type
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 02 Oct 2009 08:27:44 +0200
parents d865363208d6
children f80c566bc751
line wrap: on
line diff
--- a/src/ov-complex.h	Thu Oct 01 21:59:27 2009 +0200
+++ b/src/ov-complex.h	Fri Oct 02 08:27:44 2009 +0200
@@ -87,6 +87,8 @@
 		    || lo_ieee_isnan (std::imag (scalar))));
     }
 
+  builtin_type_t builtin_type (void) const { return btyp_complex; }
+
   bool is_complex_scalar (void) const { return true; }
 
   bool is_complex_type (void) const { return true; }