FUNCTIONnot_int(n:ININTEGER)RETURNINTEGER;-- if 0 then return 1 else 0
FUNCTIONnot_int(n:ININTEGER)RETURNINTEGER;-- if 0 then return 1 else 0
FUNCTIONpack_complex(re,im:INTEGER;w:NATURAL)RETURNINTEGER;-- pack order: im & re
FUNCTIONunpack_complex_re(data:INTEGER;w:NATURAL)RETURNINTEGER;-- pack order: im & re
FUNCTIONunpack_complex_re(data:STD_LOGIC_VECTOR;w:NATURAL)RETURNINTEGER;-- pack order: im & re
FUNCTIONunpack_complex_im(data:INTEGER;w:NATURAL)RETURNINTEGER;-- pack order: im & re
FUNCTIONunpack_complex_im(data:STD_LOGIC_VECTOR;w:NATURAL)RETURNINTEGER;-- pack order: im & re
FUNCTIONto_natural_arr(n:t_integer_arr;to_zero:BOOLEAN)RETURNt_natural_arr;-- if to_zero=TRUE then negative numbers are forced to zero, otherwise they will give a compile range error
FUNCTIONto_natural_arr(n:t_integer_arr;to_zero:BOOLEAN)RETURNt_natural_arr;-- if to_zero=TRUE then negative numbers are forced to zero, otherwise they will give a compile range error