FUNCTIONunpack_complex_im(data:INTEGER;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
FUNCTIONunpack_complex_im(data:STD_LOGIC_VECTOR;w:NATURAL)RETURNINTEGER;-- pack order: im & re
FUNCTIONatan2(Y,X:REAL)RETURNREAL;-- = ARCTAN(Y, X) but returns 0 when Y = X = 0, without reporting Error: ARCTAN(0.0, 0.0) is undetermined
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