Mercurial > hg > octave-nkf
diff src/ov-float.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-float.h +++ b/src/ov-float.h @@ -82,6 +82,8 @@ octave_value any (int = 0) const { return (scalar != 0 && ! lo_ieee_isnan (scalar)); } + builtin_type_t builtin_type (void) const { return btyp_float; } + bool is_real_scalar (void) const { return true; } bool is_real_type (void) const { return true; }