Checks if the array is a real type. More...

bool isreal () const
 

Detailed Description

Checks if the array is a real type.

Returns true if the type of the array is real.

array a = constant(1,3,3,f32);
if( a.isreal() )
; //statement will be reached
array a = mul(a, cfloat(1,3));
if( a.isreal() )
; //statement will not be reached

Function Documentation

bool isreal ( ) const
inline

Returns
True if the array is a real type. False otherwise