stackops Module


PUSH_STACK

Push a number onto the real stack.



push_stack

Push a number onto the complex stack.



RPUSH_STACK

Push a number onto the rational stack.



DROP_STACK

Drop a number from the real stack.



CDROP_STACK

Drop a number from the complex stack.



RDROP_STACK

Drop a number from the rational stack.



PRINTX

Print a real number to a string.



CPRINTX

Print a complex number to a string.



RPRINTX

Print a rational number to a string.



Uses

  • module~~stackops~~UsesGraph module~stackops stackops iso_fortran_env iso_fortran_env module~stackops->iso_fortran_env module~funcs funcs module~stackops->module~funcs module~global GLOBAL module~stackops->module~global assert assert module~stackops->assert module~funcs->iso_fortran_env module~funcs->assert module~bessel bessel module~funcs->module~bessel module~stats stats module~funcs->module~stats module~fgamma fgamma module~funcs->module~fgamma module~hyper hyper module~funcs->module~hyper module~trig trig module~funcs->module~trig module~rat rat module~funcs->module~rat module~global->assert module~bessel->assert module~rjk rjk module~bessel->module~rjk module~i1 i1 module~bessel->module~i1 module~k0 k0 module~bessel->module~k0 module~rjb rjb module~bessel->module~rjb module~i0 i0 module~bessel->module~i0 module~k1 k1 module~bessel->module~k1 module~rjy rjy module~bessel->module~rjy module~rji rji module~bessel->module~rji module~stats->assert module~fgamma->assert module~hyper->iso_fortran_env module~hyper->module~global module~hyper->assert module~hyper->module~rat ieee_arithmetic ieee_arithmetic module~hyper->ieee_arithmetic module~trig->assert module~rat->iso_fortran_env module~rat->assert

Used by

  • module~~stackops~~UsedByGraph module~stackops stackops program~rpn RPN program~rpn->module~stackops module~evals evals program~rpn->module~evals module~evals->module~stackops

Contents


Variables

TypeVisibility AttributesNameInitial
complex(kind=wp), private, parameter:: c0 =(0._wp, 0._wp)

Interfaces

public interface push_stack

  • public subroutine PUSH_STACK_r(X)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: X
  • public subroutine CPUSH_STACK(X)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: X
  • public subroutine RPUSH_STACK(RN, RD)

    Arguments

    Type IntentOptional AttributesName
    integer, intent(in) :: RN
    integer, intent(in) :: RD

public interface printx

  • public subroutine PRINTX_r(X, NUMSTR)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: X
    character(len=100), intent(out) :: NUMSTR
  • public subroutine CPRINTX(X, NUMSTR)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: X
    character(len=100), intent(out) :: NUMSTR
  • public subroutine RPRINTX(RN, RD, NUMSTR)

    Arguments

    Type IntentOptional AttributesName
    integer, intent(in) :: RN
    integer, intent(in) :: RD
    character(len=100), intent(out) :: NUMSTR

Subroutines

public subroutine PUSH_STACK_r(X)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X

public subroutine CPUSH_STACK(X)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: X

public subroutine RPUSH_STACK(RN, RD)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: RN
integer, intent(in) :: RD

public subroutine DROP_STACK(N)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: N

public subroutine CDROP_STACK(N)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: N

public subroutine RDROP_STACK(N)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: N

public subroutine PRINTX_r(X, NUMSTR)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X
character(len=100), intent(out) :: NUMSTR

public subroutine CPRINTX(X, NUMSTR)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: X
character(len=100), intent(out) :: NUMSTR

public subroutine RPRINTX(RN, RD, NUMSTR)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: RN
integer, intent(in) :: RD
character(len=100), intent(out) :: NUMSTR