Push_sfp32Stack Subroutine

public subroutine Push_sfp32Stack(stack, tok)

Arguments

TypeIntentOptionalAttributesName
class(sfp32Stack), intent(inout) :: stack
real(kind=real32), intent(in) :: tok

Contents

Source Code


Source Code

  subroutine Push_sfp32Stack(stack,tok)
    class(sfp32Stack),intent(inout) :: stack
    real(real32),intent(in)         :: tok

    stack%top_index = stack%top_index+1
    stack%tokens(stack%top_index) = tok

  endsubroutine Push_sfp32Stack